public class LuceneSearcherImpl extends Object implements LuceneSearcher
Constructor and Description |
---|
LuceneSearcherImpl(com.atlassian.bonnie.ILuceneConnection luceneConnection) |
Modifier and Type | Method and Description |
---|---|
LuceneSearchResults |
search(org.apache.lucene.search.Query query,
org.apache.lucene.search.Sort sort,
org.apache.lucene.search.Filter searchFilter,
LuceneResultFilter resultFilter,
Set<String> requestedFields)
Performs a lucene search.
|
public LuceneSearcherImpl(com.atlassian.bonnie.ILuceneConnection luceneConnection)
public LuceneSearchResults search(org.apache.lucene.search.Query query, org.apache.lucene.search.Sort sort, org.apache.lucene.search.Filter searchFilter, LuceneResultFilter resultFilter, Set<String> requestedFields)
LuceneSearcher
search
in interface LuceneSearcher
query
- the query to runsort
- the sort to perform sorting bysearchFilter
- the filter that is run during the searchresultFilter
- the filter that is run after a search once the results have returnedrequestedFields
- - the fields to load into the search result, if this is null or empty all fields will be loadedCopyright © 2003–2019 Atlassian. All rights reserved.