com.atlassian.confluence.search.contentnames.lucene
Interface ContentNameScorer
- All Known Implementing Classes:
- LuceneContentNameScorer
public interface ContentNameScorer
Calculates documents scores for a query directed at content names.
|
Method Summary |
DocumentResultScores |
score(List<QueryToken> queryTokens)
|
DocumentResultScores |
score(List<QueryToken> queryTokens,
Map<String,Object> params)
|
DocumentResultScores |
score(List<QueryToken> queryTokens,
Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
Map<String,Object> params,
String... spaceKeys)
|
DocumentResultScores |
score(List<QueryToken> queryTokens,
Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
String... spaceKeys)
|
DocumentResultScores |
score(List<QueryToken> queryTokens,
Set<Attachment.Type> attachmentTypes,
String... spaceKeys)
|
DocumentResultScores |
score(List<QueryToken> queryTokens,
String... spaceKeys)
|
score
DocumentResultScores score(List<QueryToken> queryTokens)
- Parameters:
queryTokens - the query tokens to be used for scoring
- Returns:
- the document scores for this query
score
DocumentResultScores score(List<QueryToken> queryTokens,
String... spaceKeys)
- Parameters:
queryTokens - the query tokens to be used for scoringspaceKeys - the spaces to restrict to. empty/null means all spaces
- Returns:
- the document scores for this query
score
DocumentResultScores score(List<QueryToken> queryTokens,
Set<Attachment.Type> attachmentTypes,
String... spaceKeys)
- Parameters:
queryTokens - the query tokens to be used for scoringattachmentTypes - attachment types to restrict to. empty/null means all attachmentsspaceKeys - the spaces to restrict to. empty/null means all spaces
- Returns:
- the document scores for this query
score
DocumentResultScores score(List<QueryToken> queryTokens,
Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
String... spaceKeys)
- Parameters:
queryTokens - the query tokens to be used for scoringattachmentTypes - attachment types to restrict to. empty/null means all attachmentssearchParentName - also matches against parent document namesspaceKeys - the spaces to restrict to. empty/null means all spaces
- Returns:
- the document scores for this query
score
DocumentResultScores score(List<QueryToken> queryTokens,
Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
Map<String,Object> params,
String... spaceKeys)
- Parameters:
queryTokens - the query tokens to be used for scoringattachmentTypes - attachment types to restrict to. empty/null means all attachmentssearchParentName - also matches against parent document namesparams - additional parameters to apply to the scorerspaceKeys - the spaces to restrict to. empty/null means all spaces
- Returns:
- the document scores for this query
score
DocumentResultScores score(List<QueryToken> queryTokens,
Map<String,Object> params)
- Parameters:
queryTokens - the query tokens to be used for scoringparams - additional parameters to apply to the scorer
- Returns:
- the document scores for this query
Copyright © 2003-2012 Atlassian. All Rights Reserved.