public abstract class AbstractAuthorityQuery
extends org.apache.lucene.search.Query
| Constructor and Description |
|---|
AbstractAuthorityQuery(String authority)
Construct with authority.
|
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.IndexSearcher searcher) |
boolean |
equals(Object obj) |
int |
hashCode() |
abstract String |
toString()
Subclasses should implement a descriptive toString method.
|
String |
toString(String field) |
protected String authority
public AbstractAuthorityQuery(String authority)
authority - public abstract String toString()
toString in class org.apache.lucene.search.Querypublic abstract org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher)
throws IOException
createWeight in class org.apache.lucene.search.QueryIOExceptionpublic String toString(String field)
toString in class org.apache.lucene.search.Querypublic int hashCode()
hashCode in class org.apache.lucene.search.Querypublic boolean equals(Object obj)
equals in class org.apache.lucene.search.QueryCopyright © 2005–2017 Alfresco Software. All rights reserved.