zhangxinyao88 opened a new pull request, #4915: URL: https://github.com/apache/solr/pull/4915
Fixes SOLR-18175. `FieldType.getExistenceQuery` now eagerly validates generated `FieldExistsQuery` instances against the current searcher. When Lucene reports that the field has no doc values, norms, or vectors, Solr returns `BAD_REQUEST` instead of surfacing the exception as an internal error. Adds integration coverage for both `q` and `facet.query`. Tests: - `./gradlew :solr:core:test --tests 'org.apache.solr.search.FieldExistsQueryBadRequestTest' --tests 'org.apache.solr.search.TestSolrQueryParser'`\n- `./gradlew check -x test -x rat`\n\n`./gradlew check -x test` is blocked by pre-existing RAT findings for repository files outside this change. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
