Class PageIndexExtractor
java.lang.Object
ch.tocco.nice2.optional.cms.impl.indexing.PageIndexExtractor
- All Implemented Interfaces:
IndexExtractor
-
Field Summary
Fields inherited from interface ch.tocco.nice2.enterprisesearch.api.indexing.IndexExtractor
INDEX_EXTRACTOR_ORDER
-
Constructor Summary
ConstructorDescriptionPageIndexExtractor
(IndexExtractor defaultEntityIndexExtractor, PageModelService pageModelService, FreemarkerTemplateProcessor freemarkerTemplateProcessor, ContentTreeService contentTreeService, RequestService requestService, org.slf4j.Logger log) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.enterprisesearch.api.indexing.IndexExtractor
extract
-
Constructor Details
-
PageIndexExtractor
public PageIndexExtractor(IndexExtractor defaultEntityIndexExtractor, PageModelService pageModelService, FreemarkerTemplateProcessor freemarkerTemplateProcessor, ContentTreeService contentTreeService, RequestService requestService, org.slf4j.Logger log)
-
-
Method Details
-
extract
@Nullable public @Nullable Map<String,Object> extract(Entity entity, FieldIndexExtractorFilter filter) Description copied from interface:IndexExtractor
If result is not null, it will be taken for indexing.- Specified by:
extract
in interfaceIndexExtractor
- Parameters:
entity
- Entity for extracting content.- Returns:
- null if is not handled by the current extractor or an result if it's handled.
-