public class SolrPathQuery
extends org.apache.lucene.search.Query
| Constructor and Description |
|---|
SolrPathQuery(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
The base query
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendQuery(List<StructuredFieldPosition> sfps) |
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScore) |
boolean |
equals(Object obj) |
String |
getPathField() |
org.apache.lucene.index.Term |
getPathRootTerm() |
List<StructuredFieldPosition> |
getPathStructuredFieldPositions() |
int |
hashCode() |
boolean |
isEmpty() |
void |
removeDescendantAndSelf() |
void |
setPathField(String pathField) |
void |
setQuery(List<StructuredFieldPosition> path) |
void |
setRepeats(boolean repeats) |
String |
toString(String field) |
public SolrPathQuery(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - DictionaryServicepublic void setQuery(List<StructuredFieldPosition> path)
public void appendQuery(List<StructuredFieldPosition> sfps)
public String getPathField()
public void setPathField(String pathField)
public org.apache.lucene.index.Term getPathRootTerm()
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScore)
createWeight in class org.apache.lucene.search.Querypublic String toString(String field)
toString in class org.apache.lucene.search.Querypublic void removeDescendantAndSelf()
public boolean isEmpty()
public List<StructuredFieldPosition> getPathStructuredFieldPositions()
public void setRepeats(boolean repeats)
public int hashCode()
hashCode in class org.apache.lucene.search.Querypublic boolean equals(Object obj)
equals in class org.apache.lucene.search.QueryCopyright © 2005–2018 Alfresco Software. All rights reserved.