Class LuceneSearchResultFactory
java.lang.Object
com.atlassian.confluence.internal.search.v2.lucene.LuceneSearchResultFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a LuceneSearchResultFactory without any requested fields, this will cause all fields of the result document to be fetched into the search resultLuceneSearchResultFactory
(Set<String> requestedFields) -
Method Summary
Modifier and TypeMethodDescriptioncreateSearchResult
(org.apache.lucene.document.Document document, Optional<HitHighlighter> maybeHighlighter, Optional<String> maybeExplanation)
-
Constructor Details
-
LuceneSearchResultFactory
public LuceneSearchResultFactory()Construct a LuceneSearchResultFactory without any requested fields, this will cause all fields of the result document to be fetched into the search result -
LuceneSearchResultFactory
-
-
Method Details
-
createSearchResult
public SearchResult createSearchResult(org.apache.lucene.document.Document document, Optional<HitHighlighter> maybeHighlighter, Optional<String> maybeExplanation)
-