public class SimilarityQuery
extends org.apache.lucene.search.Query
SimilarityQuery
implements a query that returns similar nodes
for a given node UUID.Constructor and Description |
---|
SimilarityQuery(String uuid,
org.apache.lucene.analysis.Analyzer analyzer) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader) |
String |
toString(String field) |
public SimilarityQuery(String uuid, org.apache.lucene.analysis.Analyzer analyzer)
public org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader) throws IOException
rewrite
in class org.apache.lucene.search.Query
IOException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.