com.atlassian.confluence.search.contentnames.lucene
Class LuceneContentNameSearcher
java.lang.Object
com.atlassian.confluence.search.contentnames.lucene.LuceneContentNameSearcher
- All Implemented Interfaces:
- ContentNameSearcher
public class LuceneContentNameSearcher
- extends Object
- implements ContentNameSearcher
Method Summary |
Map<Category,List<SearchResult>> |
search(List<QueryToken> queryTokens)
Search and expect results using the Confluence default ResultTemplate . |
Map<Category,List<SearchResult>> |
search(List<QueryToken> queryTokens,
ResultTemplate grouping)
Search returning results meeting the specified ResultTemplate . |
Map<Category,List<SearchResult>> |
search(List<QueryToken> queryTokens,
ResultTemplate resultTemplate,
Set<Attachment.Type> attachmentTypes,
String... spaceKeys)
Search returning results in the specified space and ResultTemplate |
Map<Category,List<SearchResult>> |
search(List<QueryToken> queryTokens,
ResultTemplate grouping,
String... spaceKeys)
Search returning results in the specified space and ResultTemplate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTENT_NAME_UNSTEMMED_FIELD
public static final String CONTENT_NAME_UNSTEMMED_FIELD
- See Also:
- Constant Field Values
LuceneContentNameSearcher
public LuceneContentNameSearcher(ContentNameScorer contentNameScorer,
ResultCategoriser resultCategoriser,
ResultConverter resultConverter)
search
public Map<Category,List<SearchResult>> search(List<QueryToken> queryTokens)
- Description copied from interface:
ContentNameSearcher
- Search and expect results using the Confluence default
ResultTemplate
.
- Specified by:
search
in interface ContentNameSearcher
- Parameters:
queryTokens
- the parsed tokens to search with.
- Returns:
- results keyed by the grouping they are for.
- See Also:
ResultTemplate.DEFAULT
,
QueryTokenizer
search
public Map<Category,List<SearchResult>> search(List<QueryToken> queryTokens,
ResultTemplate grouping)
- Description copied from interface:
ContentNameSearcher
- Search returning results meeting the specified
ResultTemplate
.
- Specified by:
search
in interface ContentNameSearcher
- Parameters:
queryTokens
- the parsed tokens to search with.grouping
- the grouping of the results you require.
- Returns:
- results keyed by the grouping they are for.
- See Also:
QueryTokenizer
search
public Map<Category,List<SearchResult>> search(List<QueryToken> queryTokens,
ResultTemplate grouping,
String... spaceKeys)
- Description copied from interface:
ContentNameSearcher
- Search returning results in the specified space and
ResultTemplate
- Specified by:
search
in interface ContentNameSearcher
- Parameters:
queryTokens
- the parsed tokens to search with.grouping
- the grouping of the results you require.
- Returns:
- results keyed by the grouping they are for.
- See Also:
QueryTokenizer
search
public Map<Category,List<SearchResult>> search(List<QueryToken> queryTokens,
ResultTemplate resultTemplate,
Set<Attachment.Type> attachmentTypes,
String... spaceKeys)
- Description copied from interface:
ContentNameSearcher
- Search returning results in the specified space and
ResultTemplate
- Specified by:
search
in interface ContentNameSearcher
- Parameters:
queryTokens
- the parsed tokens to search with.resultTemplate
- the grouping of the results you require.attachmentTypes
- attachment types to filter attachments on
- Returns:
- results keyed by the grouping they are for.
- See Also:
QueryTokenizer