com.atlassian.jira.issue.search.providers
Class LuceneSearchProvider
java.lang.Object
com.atlassian.jira.issue.search.providers.LuceneSearchProvider
- All Implemented Interfaces:
- SearchProvider
- public class LuceneSearchProvider
- extends java.lang.Object
- implements SearchProvider
Field Summary |
protected org.apache.log4j.Category |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.log4j.Category log
LuceneSearchProvider
public LuceneSearchProvider()
search
public java.util.Collection search(SearchRequest request,
com.opensymphony.user.User searchUser)
throws SearchException
- Returns null if there are no Lucene parameters,
otherwise returns a collection of Lucene Document objects.
The collection has 0 results if there are no matches.
- Specified by:
search
in interface SearchProvider
- Throws:
SearchException
searchCount
public long searchCount(SearchRequest request,
com.opensymphony.user.User user)
throws SearchException
- Specified by:
searchCount
in interface SearchProvider
- Throws:
SearchException
getHitsForCounts
public org.apache.lucene.search.Hits getHitsForCounts(SearchRequest request,
com.opensymphony.user.User user)
throws SearchException
- Specified by:
getHitsForCounts
in interface SearchProvider
- Throws:
SearchException
searchCountMap
public java.util.Map searchCountMap(SearchRequest request,
com.opensymphony.user.User searcher,
java.lang.String groupField)
throws SearchException
- Specified by:
searchCountMap
in interface SearchProvider
- Throws:
SearchException
searchCountMap
public TwoDimensionalStatsMap searchCountMap(SearchRequest request,
com.opensymphony.user.User searcher,
StatisticsMapper xAxisStatsMapper,
StatisticsMapper yAxisStatsMapper)
throws SearchException
- Specified by:
searchCountMap
in interface SearchProvider
- Throws:
SearchException
Copyright © 2002-2005 Atlassian. All Rights Reserved.