@ExperimentalSpi
public interface EntitySearchExtractor<T>
Modifier and Type | Interface and Description |
---|---|
static interface |
EntitySearchExtractor.Context<T> |
Modifier and Type | Method and Description |
---|---|
Set<String> |
indexEntity(EntitySearchExtractor.Context<T> ctx,
org.apache.lucene.document.Document doc)
Extracts fields from document provided by
EntitySearchExtractor.Context and adds them to document. |
Set<String> indexEntity(EntitySearchExtractor.Context<T> ctx, org.apache.lucene.document.Document doc)
EntitySearchExtractor.Context
and adds them to document.
All the filed names that were added to documents as indexed to document must be returned as output of this methodctx
- context for this operationdoc
- lucene document to which values should be addedCopyright © 2002-2021 Atlassian. All Rights Reserved.