public interface ContentNameScorer
Modifier and Type | Method and Description |
---|---|
void |
score(List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector) |
void |
score(List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
Map<String,Object> params) |
void |
score(List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
Map<String,Object> params,
String... spaceKeys) |
void |
score(List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
Set<Attachment.Type> attachmentTypes,
boolean searchParentName,
String... spaceKeys) |
void |
score(List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
Set<Attachment.Type> attachmentTypes,
String... spaceKeys) |
void |
score(List<QueryToken> queryTokens,
org.apache.lucene.search.Collector collector,
String... spaceKeys) |
void score(List<QueryToken> queryTokens, org.apache.lucene.search.Collector collector)
queryTokens
- the query tokens to be used for scoringcollector
- a lucene collector to collect the resultsvoid score(List<QueryToken> queryTokens, org.apache.lucene.search.Collector collector, String... spaceKeys)
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 spacesvoid score(List<QueryToken> queryTokens, org.apache.lucene.search.Collector collector, Set<Attachment.Type> attachmentTypes, String... spaceKeys)
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 spacesvoid score(List<QueryToken> queryTokens, org.apache.lucene.search.Collector collector, Set<Attachment.Type> attachmentTypes, boolean searchParentName, String... spaceKeys)
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 spacesvoid score(List<QueryToken> queryTokens, org.apache.lucene.search.Collector collector, Set<Attachment.Type> attachmentTypes, boolean searchParentName, Map<String,Object> params, String... spaceKeys)
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 spacesvoid score(List<QueryToken> queryTokens, org.apache.lucene.search.Collector collector, Map<String,Object> params)
queryTokens
- the query tokens to be used for scoringcollector
- a lucene collector to collect the resultsparams
- additional parameters to apply to the scorerCopyright © 2003–2015 Atlassian. All rights reserved.