Interface IndexExtractor
- All Known Implementing Classes:
DefaultEntityFieldIndexExtractor
,DefaultEntityIndexExtractor
,PageIndexExtractor
,SearchConfigEntityIndexExtractor
public interface IndexExtractor
Index extractors can be contributed per entity type.
The result of the first extractor who returns a non-null result will be taken for indexing.
Index extractors can also be overwritten (by using the "before" or "after" attribute).
-
Field Summary
-
Method Summary
-
Field Details
-
INDEX_EXTRACTOR_ORDER
static final int INDEX_EXTRACTOR_ORDER- See Also:
-
-
Method Details
-
extract
If result is not null, it will be taken for indexing.- Parameters:
entity
- Entity for extracting content.- Returns:
- null if is not handled by the current extractor or an result if it's handled.
-
extract
If result is not null, it will be taken for indexing.- Parameters:
entity
- Entity for extracting content.- Returns:
- null if is not handled by the current extractor or an result if it's handled.
-