DataProcessors¶
See Concept of DataProcessing for further background information.
For information about implementing a new DataProcessor, take a look at Develop a new DataProcessor.
Same as provided by TYPO3 for FLUIDTEMPLATE through dataProcessing.
Usage¶
All processors are applied in configured order. Allowing to work with already processed data. They can be applied during indexing and for search results.
Example for indexing:
plugin.tx_searchcore.settings.indexing.pages.dataProcessing {
1 = Codappix\SearchCore\DataProcessing\CopyToProcessor
1 {
to = search_spellcheck
}
2 = Codappix\SearchCore\DataProcessing\CopyToProcessor
2 {
to = search_all
}
}
The above example will copy all existing fields to the field search_spellcheck
. Afterwards
all fields, including search_spellcheck
will be copied to search_all
.
Example for search results:
plugin.tx_searchcore.settings.searching.dataProcessing {
1 = Codappix\SearchCore\DataProcessing\CopyToProcessor
1 {
to = search_spellcheck
}
2 = Codappix\SearchCore\DataProcessing\CopyToProcessor
2 {
to = search_all
}
}
The above example will copy all existing fields to the field search_spellcheck
. Afterwards
all fields, including search_spellcheck
will be copied to search_all
.
Available DataProcessors¶
Planned DataProcessors¶
Codappix\SearchCore\DataProcessing\ReplaceProcessor
- Will execute a search and replace on configured fields.
Codappix\SearchCore\DataProcessing\RootLevelProcessor
- Will attach the root level to the record.
Codappix\SearchCore\DataProcessing\ChannelProcessor
- Will add a configurable channel to the record, e.g. if you have different areas in your website like “products” and “infos”.
Codappix\SearchCore\DataProcessing\RelationResolverProcessor
- Resolves all relations using the TCA. This is currently done through indexer.