public class MtasSpanUniquePositionQuery extends MtasSpanQuery
Modifier and Type | Class and Description |
---|---|
class |
MtasSpanUniquePositionQuery.SpanUniquePositionWeight
The Class SpanUniquePositionWeight.
|
Modifier and Type | Field and Description |
---|---|
private MtasSpanQuery |
clause
The clause.
|
private String |
field
The field.
|
Constructor and Description |
---|
MtasSpanUniquePositionQuery(MtasSpanQuery clause)
Instantiates a new mtas span unique position query.
|
Modifier and Type | Method and Description |
---|---|
MtasSpanWeight |
createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores,
float boost) |
void |
disableTwoPhaseIterator()
Disable two phase iterator.
|
boolean |
equals(Object obj) |
MtasSpanQuery |
getClause()
Gets the clause.
|
String |
getField() |
int |
hashCode() |
boolean |
isMatchAllPositionsQuery() |
MtasSpanQuery |
rewrite(org.apache.lucene.index.IndexReader reader) |
String |
toString(String field) |
getMaximumWidth, getMinimumWidth, getWidth, isSinglePositionQuery, setWidth, twoPhaseIteratorAllowed
private MtasSpanQuery clause
private String field
public MtasSpanUniquePositionQuery(MtasSpanQuery clause)
clause
- the clausepublic MtasSpanQuery getClause()
public String getField()
getField
in class org.apache.lucene.search.spans.SpanQuery
public boolean equals(Object obj)
equals
in class MtasSpanQuery
public int hashCode()
hashCode
in class MtasSpanQuery
public String toString(String field)
toString
in class org.apache.lucene.search.Query
public MtasSpanQuery rewrite(org.apache.lucene.index.IndexReader reader) throws IOException
rewrite
in class MtasSpanQuery
IOException
public MtasSpanWeight createWeight(org.apache.lucene.search.IndexSearcher searcher, boolean needsScores, float boost) throws IOException
createWeight
in class org.apache.lucene.search.spans.SpanQuery
IOException
public void disableTwoPhaseIterator()
MtasSpanQuery
disableTwoPhaseIterator
in class MtasSpanQuery
public boolean isMatchAllPositionsQuery()
isMatchAllPositionsQuery
in class MtasSpanQuery
Copyright © 2018 Meertens Institute. All rights reserved.