dsmiley opened a new pull request, #5377:
URL: https://github.com/apache/solr/pull/5377

   Small cleanup of QueryUtils.
   
   - Adds `fixNegativeQuery(BooleanQuery)`, which only changes pure-negative 
queries.
   - `makeQueryable` now returns the fixed `BooleanQuery` directly rather than 
wrapping it in a `BoostQuery(…, 1f)`.
   - Deprecates the public `isNegative(Query)` and `fixNegativeQuery(Query)`.
   - Adds tests to `TestQueryUtils`.
   
   The deprecated `fixNegativeQuery(Query)` no longer appends `MatchAllDocs` to 
a non-negative query (previously a misuse).
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to