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 |
void |
score(java.util.List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector)
|
void |
score(java.util.List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
java.util.Map<java.lang.String,java.lang.Object> params)
|
void |
score(java.util.List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
java.util.Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String... spaceKeys)
|
void |
score(java.util.List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
java.util.Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
java.lang.String... spaceKeys)
|
void |
score(java.util.List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
java.util.Set<Attachment.Type> attachmentTypes,
java.lang.String... spaceKeys)
|
void |
score(java.util.List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
java.lang.String... spaceKeys)
|
score
void score(java.util.List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector)
- Parameters:
queryTokens
- the query tokens to be used for scoringcollector
- a lucene collector to collect the results
score
void score(java.util.List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
java.lang.String... spaceKeys)
- Parameters:
queryTokens
- the query tokens to be used for scoringcollector
- a lucene collector to collect the resultsspaceKeys
- the spaces to restrict to. empty/null means all spaces
score
void score(java.util.List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
java.util.Set<Attachment.Type> attachmentTypes,
java.lang.String... spaceKeys)
- Parameters:
queryTokens
- the query tokens to be used for scoringcollector
- a lucene collector to collect the resultsattachmentTypes
- attachment types to restrict to. empty/null means all attachmentsspaceKeys
- the spaces to restrict to. empty/null means all spaces
score
void score(java.util.List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
java.util.Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
java.lang.String... spaceKeys)
- Parameters:
queryTokens
- the query tokens to be used for scoringcollector
- a lucene collector to collect the resultsattachmentTypes
- 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
score
void score(java.util.List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
java.util.Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.String... spaceKeys)
- Parameters:
queryTokens
- the query tokens to be used for scoringcollector
- a lucene collector to collect the resultsattachmentTypes
- 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
score
void score(java.util.List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
java.util.Map<java.lang.String,java.lang.Object> params)
- Parameters:
queryTokens
- the query tokens to be used for scoringcollector
- a lucene collector to collect the resultsparams
- additional parameters to apply to the scorer
Copyright © 2003-2013 Atlassian. All Rights Reserved.