Class LuceneSiteTextSearchQueryFactory
- java.lang.Object
-
- com.atlassian.confluence.internal.search.v2.lucene.LuceneSiteTextSearchQueryFactory
-
public class LuceneSiteTextSearchQueryFactory extends Object
Relocation from confluence-search plugin.- Since:
- 6.16.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
SEARCH_IMPROVEMENTS_EXACT_DARK_FEATURE_KEY
static float
SPAN_QUERY_BOOST
static float
TITLE_FIELD_BOOST
-
Constructor Summary
Constructors Constructor Description LuceneSiteTextSearchQueryFactory(LuceneAnalyzerFactory luceneAnalyzerFactory, LuceneQueryParserFactory luceneQueryParserFactory, LuceneSiteTextSearchSpanQueryBuilder spanQueryBuilder, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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 usegetQuery(String)
instead.
-
-
-
Field Detail
-
SEARCH_IMPROVEMENTS_EXACT_DARK_FEATURE_KEY
public static final String SEARCH_IMPROVEMENTS_EXACT_DARK_FEATURE_KEY
- See Also:
- Constant Field Values
-
TITLE_FIELD_BOOST
public static final float TITLE_FIELD_BOOST
- See Also:
- Constant Field Values
-
SPAN_QUERY_BOOST
public static final float SPAN_QUERY_BOOST
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LuceneSiteTextSearchQueryFactory
public LuceneSiteTextSearchQueryFactory(LuceneAnalyzerFactory luceneAnalyzerFactory, LuceneQueryParserFactory luceneQueryParserFactory, LuceneSiteTextSearchSpanQueryBuilder spanQueryBuilder, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.features.DarkFeatureManager darkFeatureManager)
-
-
Method Detail
-
getQuery
@Deprecated public org.apache.lucene.search.Query getQuery(String queryString, SiteTextSearchQuery.Boost doBoost)
Deprecated.since 7.5.0 usegetQuery(String)
instead.
-
getQuery
public org.apache.lucene.search.Query getQuery(String queryString)
-
-