rmuir commented on PR #16816: URL: https://github.com/apache/lucene/pull/16816#issuecomment-6148615141
> Just trying to maintain functional consistency with an `ALL` type automaton for the case where a field does not have norms or doc values. I think that `field:*` should be equivalent to (and rewrite to) `exists(field)`. I decided to make `exists(field)` work in all cases, but I'm okay with making `field:*` throw an exception when the field doesn't have norms or doc values. We can still avoid throwing an exception in the MatchAll/MatchNoDocsQuery special cases. OK. I agree someone can just do a leading wildcard anyway which is just as bad. -- 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]
