Class DefaultEntityFieldIndexExtractor
java.lang.Object
ch.tocco.nice2.enterprisesearch.impl.indexing.extractor.DefaultEntityFieldIndexExtractor
- All Implemented Interfaces:
IndexExtractor
@Component("entityFieldIndexExtractor")
public class DefaultEntityFieldIndexExtractor
extends Object
implements IndexExtractor
Extracts fields using FulltextExtractorTypeAdapter.
-
Field Summary
FieldsFields inherited from interface ch.tocco.nice2.enterprisesearch.api.indexing.IndexExtractor
INDEX_EXTRACTOR_ORDER -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.enterprisesearch.api.indexing.IndexExtractor
extract
-
Field Details
-
l10N
-
-
Constructor Details
-
DefaultEntityFieldIndexExtractor
-
-
Method Details
-
extract
@Nullable public @Nullable Map<String,Object> extract(Entity entity, FieldIndexExtractorFilter filter) Description copied from interface:IndexExtractorIf result is not null, it will be taken for indexing.- Specified by:
extractin interfaceIndexExtractor- Parameters:
entity- Entity for extracting content.- Returns:
- null if is not handled by the current extractor or an result if it's handled.
-