public class LuceneSiteTextSearchQueryFactory extends Object
Modifier and Type | Field and Description |
---|---|
static float |
SPAN_QUERY_BOOST |
static float |
TITLE_FIELD_BOOST |
Constructor and Description |
---|
LuceneSiteTextSearchQueryFactory(com.atlassian.bonnie.analyzer.LuceneAnalyzerFactory luceneAnalyzerFactory,
LuceneQueryParserFactory luceneQueryParserFactory,
BoostingStrategy pluggableBoostingStrategy,
com.atlassian.confluence.search.v2.lucene.LuceneSiteTextSearchSpanQueryBuilder spanQueryBuilder,
com.atlassian.event.api.EventPublisher eventPublisher) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
getQuery(String queryString) |
org.apache.lucene.search.Query |
getQuery(String queryString,
SiteTextSearchQuery.Boost doBoost) |
public static final float TITLE_FIELD_BOOST
public static final float SPAN_QUERY_BOOST
public LuceneSiteTextSearchQueryFactory(com.atlassian.bonnie.analyzer.LuceneAnalyzerFactory luceneAnalyzerFactory, LuceneQueryParserFactory luceneQueryParserFactory, BoostingStrategy pluggableBoostingStrategy, com.atlassian.confluence.search.v2.lucene.LuceneSiteTextSearchSpanQueryBuilder spanQueryBuilder, com.atlassian.event.api.EventPublisher eventPublisher)
public org.apache.lucene.search.Query getQuery(String queryString)
public org.apache.lucene.search.Query getQuery(String queryString, SiteTextSearchQuery.Boost doBoost)
Copyright © 2003–2021 Atlassian. All rights reserved.