jpountz commented on PR #12426: URL: https://github.com/apache/lucene/pull/12426#issuecomment-1630974964
LongField, DoubleField, FloatField and IntField provide the same index-time enforcement as KeywordField. Plus there is a similar pull request about doing the same for geo points: https://github.com/apache/lucene/pull/12162. +1 to better referencing these classes from `IndexOrDocValuesQuery`. In term of the test framework, we already have checks in QueryUtils that the bulk scorer matches the same docs as the scorer. Maybe we could update this to pull the scorer with a "leadCost" of 0 to force the scorer to use the doc values query in the case of an `IndexOrDocValuesQuery` (the bulk scorer will always use the index query)? -- 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. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org 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