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)
Deprecated.
since 7.5.0 use
getQuery(String) instead. |
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)
@Deprecated public org.apache.lucene.search.Query getQuery(String queryString, SiteTextSearchQuery.Boost doBoost)
getQuery(String)
instead.public org.apache.lucene.search.Query getQuery(String queryString)
Copyright © 2003–2021 Atlassian. All rights reserved.