Package org.apache.lucene.search
Class PhraseQuery.PostingsAndFreq
java.lang.Object
org.apache.lucene.search.PhraseQuery.PostingsAndFreq
- All Implemented Interfaces:
Comparable<PhraseQuery.PostingsAndFreq>
- Enclosing class:
PhraseQuery
public static class PhraseQuery.PostingsAndFreq
extends Object
implements Comparable<PhraseQuery.PostingsAndFreq>
Term postings and position information for phrase matching
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
Constructor Summary
ConstructorDescriptionPostingsAndFreq
(PostingsEnum postings, ImpactsEnum impacts, int position, List<Term> terms) PostingsAndFreq
(PostingsEnum postings, ImpactsEnum impacts, int position, Term... terms) Creates PostingsAndFreq instance -
Method Summary
-
Constructor Details
-
PostingsAndFreq
Creates PostingsAndFreq instance -
PostingsAndFreq
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<PhraseQuery.PostingsAndFreq>
-
hashCode
public int hashCode() -
equals
-