mayya-sharipova commented on a change in pull request #11: URL: https://github.com/apache/lucene/pull/11#discussion_r598287461
########## File path: lucene/MIGRATE.md ########## @@ -358,8 +358,10 @@ Rather, an IllegalArgumentException shall be thrown. This is introduced for bett defence and to ensure that there is no bubbling up of errors when Lucene is used in multi level applications -## Assumption of data consistency between different data-structures sharing the same field name +### Require consistency between data-structures on a per-field basis -Sorting on a numeric field that is indexed with both doc values and points may use an -optimization to skip non-competitive documents. This optimization relies on the assumption -that the same data is stored in these points and doc values. +A field must be indexed with the same index options and data-structures across +all documents within an index. Thus, for example, it is not allowed to have +one document in a index where a certain field is indexed with doc values +and points, and another document where the same field is indexed only with +points. Review comment: Addressed in 6dc9f27 and 55fa8c8 -- 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