chore CORE-4775: remove html page number metadata field #2942
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Rip off page_number metadata fields until we have page counting for all kinds of html files (not just limited to news articles with multiple
<article>
tag)Test
Unit tests
test_add_chunking_strategy_on_partition_html_respects_multipage
andtest_add_chunking_strategy_title_on_partition_auto_respects_multipage
removed since they relay on thepage_number
fields from the SEC html file - now test moved to mock test for chunk_by_title -> revisit those tests when we find test file for thisAlso changed the element ids from partition outputs for html files - element id change due to page number change (in element id hashing) -> todo ticket: update other deterministic element id tests per crag's comment