com.atlassian.bamboo.index.quicksearch
Class QuickSearchSearcherImpl
java.lang.Object
com.atlassian.bamboo.index.quicksearch.QuickSearchSearcherImpl
- All Implemented Interfaces:
- QuickSearchSearcher
public class QuickSearchSearcherImpl
- extends Object
- implements QuickSearchSearcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuickSearchSearcherImpl
public QuickSearchSearcherImpl(com.atlassian.bonnie.ILuceneConnection luceneConnection,
BambooCachingPermissionManagerFacade cachingPermissionManagerFacade,
IndexerService indexerService)
findItemsMatching
@NotNull
public List<QuickSearchDocument> findItemsMatching(@NotNull
String searchTerm)
- Description copied from interface:
QuickSearchSearcher
- Finds top 10 matching items in the index. What it searches on is determined by the entities indexed. Results filtered
to what user can see.
- Specified by:
findItemsMatching
in interface QuickSearchSearcher
- Parameters:
searchTerm
- term to search for
- Returns:
- Documents matching search Term
getQuickSearchDocuments
protected List<QuickSearchDocument> getQuickSearchDocuments(org.apache.lucene.search.IndexSearcher searcher,
org.apache.lucene.search.BooleanQuery booleanQuery,
int resultCount,
int pagesize)
throws IOException
- Throws:
IOException
hasPermission
protected boolean hasPermission(org.apache.lucene.document.Document document)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.