devel:event:indexer_text_prepare
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
devel:event:indexer_text_prepare [2011-03-19 20:04] – [INDEXER_TEXT_PREPARE] andi | devel:event:indexer_text_prepare [2011-03-20 00:25] – The tokenizer also parses search terms TomNHarris | ||
---|---|---|---|
Line 8: | Line 8: | ||
---- | ---- | ||
- | This event is signalled by [[xref> | + | This event is signalled by [[xref> |
If you intercept this event you should also add your plugin to the index version through using the [[devel: | If you intercept this event you should also add your plugin to the index version through using the [[devel: | ||
Line 14: | Line 14: | ||
===== Passed Data ===== | ===== Passed Data ===== | ||
- | $data contains | + | $data contains a string before being split into words. The source of the string will be the text of a page, or an individual term of a search query. Your plugin should modify the text in a way that words are separated by spaces or newlines. |
===== Plugins handling this event ===== | ===== Plugins handling this event ===== | ||
Line 24: | Line 24: | ||
===== See also ===== | ===== See also ===== | ||
+ | * [[:search]] | ||
* [[devel: | * [[devel: | ||
* [[devel: | * [[devel: |
devel/event/indexer_text_prepare.txt · Last modified: 2018-12-08 15:41 by torpedo