com.atlassian.bamboo.resultsummary.search
Interface IndexedBuildResultsSearcher

All Known Implementing Classes:
IndexedBuildResultsSearcherImpl

public interface IndexedBuildResultsSearcher


Method Summary
 int count(org.apache.lucene.search.Query query)
          Counts the number of builds that matches the query
 java.util.List<ResultsSummary> search(java.util.Map params)
           
 void search(org.apache.lucene.search.Query q, AbstractDocumentHitCollector collector)
           
 PartialList<ResultsSummary> search(org.apache.lucene.search.Query q, int maxResults)
          Returns a list of ResultsSummary that matches the query up to maxResults
 

Method Detail

search

java.util.List<ResultsSummary> search(java.util.Map params)

search

@NotNull
PartialList<ResultsSummary> search(@NotNull
                                           org.apache.lucene.search.Query q,
                                           int maxResults)
Returns a list of ResultsSummary that matches the query up to maxResults

Parameters:
q -
maxResults -
Returns:

count

int count(@NotNull
          org.apache.lucene.search.Query query)
Counts the number of builds that matches the query

Parameters:
query -
Returns:

search

void search(org.apache.lucene.search.Query q,
            AbstractDocumentHitCollector collector)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.