Currently, processors will for the most part just run on any fulltext field coming along (or, in the case of the "Ignore case" processor, optionally also on strings). However, since processors have configuration forms, there is really no reason not to just provide a form where the user can select all fields the processor should run on. Probably as a scrollable select list, like for the "Aggregated fulltext fields" data alteration.
Right now, there is e.g. no way to tell the "HTML fitler" to only run on the node body, and not other, non-HTML fields. And I imagine that only in very few cases all fulltext data will be HTML.
Comment | File | Size | Author |
---|---|---|---|
#2 | search_api.processor_fields.patch | 11.58 KB | drunken monkey |
Comments
Comment #1
drunken monkeyComment #2
drunken monkeyAttached patch should do this. Please test.
Would be a small API change, as the abstract base class for processors was modified slightly.
Comment #3
drunken monkeyCommitted.