Package de.cxp.ocs.spi.search
Interface UserQueryPreprocessor
- All Superinterfaces:
ConfigurableExtension
- All Known Implementing Classes:
AsciifyUserQueryPreprocessor,CodePointFilterUserQueryPreprocessor,NonAlphanumericStripPreprocessor
Can be used to modify the user query prior it is processed by the
UserQueryAnalyzer, for example to normalize the query.
-
Method Summary
Modifier and TypeMethodDescriptionpreProcess(String userQuery) default StringpreProcess(String userQuery, Map<String, Object> resultMetaData) Extended preProcess method that also get the meta-data map passed that can be filled with relevant meta data.Methods inherited from interface de.cxp.ocs.spi.search.ConfigurableExtension
initialize
-
Method Details
-
preProcess
-
preProcess
Extended preProcess method that also get the meta-data map passed that can be filled with relevant meta data. That meta data will then be part of the search response.- Parameters:
userQuery-resultMetaData-- Returns:
-