public class PredicateDerefQuery
extends org.apache.lucene.search.Query
Query
which returns the nodes which have a
reference property which matches the nodes of the subquery.Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.Searcher searcher)
Creates a
Weight instance for this query. |
void |
extractTerms(Set<org.apache.lucene.index.Term> terms) |
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader) |
String |
toString(String field)
Returns PredicateDerefQuery(subQuery, referenceNodeProperty, nameTest)
|
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.Searcher searcher)
Weight
instance for this query.createWeight
in class org.apache.lucene.search.Query
searcher
- the Searcher
instance to use.DerefWeight
.public String toString(String field)
toString
in class org.apache.lucene.search.Query
field
- the name of a field.public void extractTerms(Set<org.apache.lucene.index.Term> terms)
extractTerms
in class org.apache.lucene.search.Query
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–2024 The Apache Software Foundation. All rights reserved.