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<org.alfresco.repo.search.impl.lucene.query.StructuredFieldPosition> sfps) |
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.Searcher searcher) |
boolean |
equals(Object obj) |
String |
getPathField() |
org.apache.lucene.index.Term |
getPathRootTerm() |
List<org.alfresco.repo.search.impl.lucene.query.StructuredFieldPosition> |
getPathStructuredFieldPositions() |
int |
hashCode() |
boolean |
isEmpty() |
void |
removeDescendantAndSelf() |
void |
setPathField(String pathField) |
void |
setQuery(List<org.alfresco.repo.search.impl.lucene.query.StructuredFieldPosition> path) |
void |
setRepeats(boolean repeats) |
String |
toString() |
String |
toString(String field) |
public SolrPathQuery(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService - public void setQuery(List<org.alfresco.repo.search.impl.lucene.query.StructuredFieldPosition> path)
public void appendQuery(List<org.alfresco.repo.search.impl.lucene.query.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.Searcher searcher)
createWeight in class org.apache.lucene.search.Querypublic String toString()
toString 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<org.alfresco.repo.search.impl.lucene.query.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–2017 Alfresco Software. All rights reserved.