com.groupbyinc.flux.common.apache.lucene.search.NGramPhraseQuery.class Maven / Gradle / Ivy
???? 4 v @com/groupbyinc/flux/common/apache/lucene/search/NGramPhraseQuery 5com/groupbyinc/flux/common/apache/lucene/search/Query NGramPhraseQuery.java Ccom/groupbyinc/flux/common/apache/lucene/search/PhraseQuery$Builder ;com/groupbyinc/flux/common/apache/lucene/search/PhraseQuery Builder n I phraseQuery =Lcom/groupbyinc/flux/common/apache/lucene/search/PhraseQuery; A(ILcom/groupbyinc/flux/common/apache/lucene/search/PhraseQuery;)V ()V
java/util/Objects requireNonNull &(Ljava/lang/Object;)Ljava/lang/Object;
this BLcom/groupbyinc/flux/common/apache/lucene/search/NGramPhraseQuery; query rewrite u(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReader;)Lcom/groupbyinc/flux/common/apache/lucene/search/Query; java/io/IOException # getTerms 8()[Lcom/groupbyinc/flux/common/apache/lucene/index/Term; % &
' getPositions ()[I ) *
+ getSlop ()I - .
/ 6[Lcom/groupbyinc/flux/common/apache/lucene/index/Term; 1 [I 3 ! "
5
add }(Lcom/groupbyinc/flux/common/apache/lucene/index/Term;I)Lcom/groupbyinc/flux/common/apache/lucene/search/PhraseQuery$Builder; 8 9
: build ?()Lcom/groupbyinc/flux/common/apache/lucene/search/PhraseQuery; <