return a query that matches all documents but those that match the given query . concode_field_sep Pattern spaceAroundLessThanPattern concode_elem_sep Pattern lessThanPattern concode_elem_sep Pattern spacePattern concode_field_sep Query newNestedFilter concode_elem_sep BooleanQuery filtered concode_elem_sep Query applyMinimumShouldMatch concode_elem_sep int calculateMinShouldMatch concode_elem_sep Query newMatchAllQuery concode_elem_sep boolean isNegativeQuery concode_elem_sep Query fixNegativeQueryIfNeeded concode_elem_sep boolean isConstantMatchAllQuery concode_elem_sep Query newMatchNoDocsQuery concode_elem_sep Query newNonNestedFilter
Query function ( Query arg0 ) { return new BooleanQuery . Builder ( ) . add ( new MatchAllDocsQuery ( ) , Occur . MUST ) . add ( arg0 , Occur . MUST_NOT ) . build ( ) ; }