org.cdlib.xtf.textEngine
Class MoreLikeThisQuery.MoreLikeWrapper
Object
Query
MoreLikeThisQuery.MoreLikeWrapper
- All Implemented Interfaces:
- Serializable, Cloneable
- Enclosing class:
- MoreLikeThisQuery
public class MoreLikeThisQuery.MoreLikeWrapper
- extends Query
Exclude the target document from the set. Also, provide a more
comprehensive score explanation.
- See Also:
- Serialized Form
Method Summary |
Weight |
createWeight(Searcher searcher)
Returns a Weight that applies the filter to the enclosed query's Weight. |
boolean |
equals(Object o)
Returns true iff o is equal to this. |
Query |
getQuery()
|
int |
hashCode()
Returns a hash code value for this object. |
String |
toString(String s)
Prints a user-readable version of this query. |
Methods inherited from class Query |
clone, combine, extractTerms, getBoost, getSimilarity, mergeBooleanQueries, rewrite, setBoost, toString, weight |
Methods inherited from class Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
outerQuery
MoreLikeThisQuery outerQuery
outerDescrip
String outerDescrip
innerQuery
Query innerQuery
innerDescrip
String innerDescrip
MoreLikeThisQuery.MoreLikeWrapper
public MoreLikeThisQuery.MoreLikeWrapper(MoreLikeThisQuery outerQuery,
Query innerQuery)
createWeight
public Weight createWeight(Searcher searcher)
- Returns a Weight that applies the filter to the enclosed query's Weight.
This is accomplished by overriding the Scorer returned by the Weight.
- Overrides:
createWeight
in class Query
getQuery
public Query getQuery()
toString
public String toString(String s)
- Prints a user-readable version of this query.
- Specified by:
toString
in class Query
equals
public boolean equals(Object o)
- Returns true iff
o
is equal to this.
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Returns a hash code value for this object.
- Overrides:
hashCode
in class Object