SpanQuery function ( String arg0 , int arg1 , String ... arg2 ) { SpanNearQuery . Builder loc0 = SpanNearQuery . newUnorderedNearQuery ( arg0 ) ; loc0 . setSlop ( arg1 ) ; for ( String loc1 : arg2 ) { loc0 . addClause ( new SpanTermQuery ( new Term ( arg0 , loc1 ) ) ) ; } return spanQuery ( loc0 . build ( ) ) ; }
makes a new unordered spannearquery with additional asserts from the provided terms concode_field_sep PlaceHolder placeHolder concode_field_sep SpanQuery spanQuery concode_elem_sep SpanQuery spanPositionRangeQuery concode_elem_sep SpanQuery spanContainingQuery concode_elem_sep SpanQuery spanNearOrderedQuery concode_elem_sep SpanQuery spanNearOrderedQuery concode_elem_sep SpanQuery spanFirstQuery concode_elem_sep SpanQuery spanWithinQuery concode_elem_sep SpanQuery spanOrQuery concode_elem_sep SpanQuery spanOrQuery concode_elem_sep void assertNext concode_elem_sep SpanQuery spanTermQuery concode_elem_sep SpanQuery spanNotQuery concode_elem_sep SpanQuery spanNotQuery concode_elem_sep void assertFinished