public class UnanalyzedQuery
extends org.apache.lucene.search.Query
Modifier and Type | Field and Description |
---|---|
protected org.apache.lucene.search.TermQuery |
tq |
Constructor and Description |
---|
UnanalyzedQuery(org.apache.lucene.index.Term t)
Constructs a query for the term
t . |
Modifier and Type | Method and Description |
---|---|
protected org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.Searcher searcher) |
boolean |
equals(java.lang.Object o)
Returns true iff
o is equal to this. |
org.apache.lucene.index.Term |
getTerm()
Returns the term of this query.
|
int |
hashCode()
Returns a hash code value for this object.
|
java.lang.String |
toString(java.lang.String field)
Prints a user-readable version of this query.
|
public UnanalyzedQuery(org.apache.lucene.index.Term t)
t
.public org.apache.lucene.index.Term getTerm()
protected org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.Searcher searcher) throws java.io.IOException
createWeight
in class org.apache.lucene.search.Query
java.io.IOException
public java.lang.String toString(java.lang.String field)
toString
in class org.apache.lucene.search.Query
public boolean equals(java.lang.Object o)
o
is equal to this.equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.