Class TextFulltextExtractorTypeAdapter
java.lang.Object
ch.tocco.nice2.enterprisesearch.impl.indexing.typeadapter.StringFulltextExtractorTypeAdapter
ch.tocco.nice2.enterprisesearch.impl.indexing.typeadapter.TextFulltextExtractorTypeAdapter
- All Implemented Interfaces:
FulltextExtractorTypeAdapter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable ObjectextractContent(TypedValue<?> value) This is the mapping between typed values and index value types.Methods inherited from class StringFulltextExtractorTypeAdapter
getSuffix, makeFieldName, setMaxLengthOfFileComparedToMaxMemory
-
Constructor Details
-
TextFulltextExtractorTypeAdapter
public TextFulltextExtractorTypeAdapter(org.slf4j.Logger log)
-
-
Method Details
-
extractContent
Description copied from interface:FulltextExtractorTypeAdapterThis is the mapping between typed values and index value types. You can prepare values in order that they can be handled better by the index.- Specified by:
extractContentin interfaceFulltextExtractorTypeAdapter- Overrides:
extractContentin classStringFulltextExtractorTypeAdapter- Parameters:
value- a typed value, whose real value might be null or empty- Returns:
- a value of a type which can be handled by the index
-