mayya-sharipova opened a new pull request #11: URL: https://github.com/apache/lucene/pull/11
Require consistency between data-structures on a per-field basis A field must be indexed with the same index options and data-structures across all documents within a segment. Thus, for example, it is not allowed to have one document in a segment where a certain field is indexed with doc values and points, and another document where the same field is indexed only with points. But it is allowed for a document not to have a certain field at all. This requirement is ensured only per segment basis, thus it is possible to have a index where two segments have different data structures for the same field. This patch also corrects tests where fields were indexed inconsistently with different data structures across documents: Remove TestDocValuesIndexing::testDocsWithField, as it doesn't test anything special, what it was originally created to test ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org