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, Set<Attachment.Type> attachmentTypes, String... spaceKeys)
           
 DocumentResultScores score(List<QueryToken> queryTokens, String... spaceKeys)
           
 

Method Detail

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 scoring
spaceKeys - 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 scoring
attachmentTypes - attachment types to restrict to. empty/null means all attachments
spaceKeys - the spaces to restrict to. empty/null means all spaces
Returns:
the document scores for this query


Copyright © 2003-2011 Atlassian. All Rights Reserved.