QueryBuilder function ( QueryBuilder arg0 , QueryRewriteContext arg1 ) { QueryBuilder loc0 = arg0 ; for ( QueryBuilder loc1 = loc0 . rewrite ( arg1 ) ; loc1 != loc0 ; loc1 = loc0 . rewrite ( arg1 ) ) { loc0 = loc1 ; } return loc0 ; }
rewrites the given query into its primitive form . queries that for instance fetch resources from remote hosts or can simplify / optimize itself should do their heavy lifting during #rewrite queryrewritecontext . this method rewrites the query until it does n't change anymore . concode_field_sep PlaceHolder placeHolder concode_field_sep String getName concode_elem_sep Query toQuery concode_elem_sep QueryBuilder queryName concode_elem_sep String queryName concode_elem_sep Query toFilter concode_elem_sep float boost concode_elem_sep QueryBuilder boost concode_elem_sep QueryBuilder rewrite