public class LocalNameQuery
extends org.apache.lucene.search.Query
LocalNameQuery implements a query for the local name of a node.| Constructor and Description | 
|---|
LocalNameQuery(String localName,
              IndexFormatVersion version)
Creates a new  
LocalNameQuery for the given
 localName. | 
| Modifier and Type | Method and Description | 
|---|---|
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) | 
public LocalNameQuery(String localName, IndexFormatVersion version)
LocalNameQuery for the given
 localName.localName - the local name of a node.version - the version of the index.public org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader)
                                       throws IOException
rewrite in class org.apache.lucene.search.QueryIOExceptionpublic void extractTerms(Set<org.apache.lucene.index.Term> terms)
extractTerms in class org.apache.lucene.search.QueryCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.