Class SimilarityQuery
- java.lang.Object
-
- org.apache.lucene.search.Query
-
- org.apache.jackrabbit.core.query.lucene.SimilarityQuery
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class SimilarityQuery extends Query
SimilarityQuery
implements a query that returns similar nodes for a given node UUID.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SimilarityQuery(String uuid, Analyzer analyzer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Query
rewrite(IndexReader reader)
String
toString(String field)
-
Methods inherited from class org.apache.lucene.search.Query
clone, combine, createWeight, equals, extractTerms, getBoost, getSimilarity, hashCode, mergeBooleanQueries, setBoost, toString, weight
-
-
-
-
Method Detail
-
rewrite
public Query rewrite(IndexReader reader) throws IOException
- Overrides:
rewrite
in classQuery
- Throws:
IOException
-
-