[dokuwiki] Re: tokenizer_cmd in indexer

  • From: Andreas Gohr <andi@xxxxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 19 Mar 2011 20:03:19 +0100

On Sat, Mar 19, 2011 at 12:00 AM, TNHarris <telliamed@xxxxxxxxxxx> wrote:
> On 03/18/2011 08:16 AM, Andreas Gohr wrote:
>>
>> I just noticed a new config option to specify an external tool for
>> tokenizing pages when indexing them[1]. Did we ever discuss that?
>>
>> I'm not sure what it's good for (maybe Asian languages?), but I think
>> this would be better placed in an Action hook.
>>
>
> I didn't use a hook at first because using an external command isn't
> compatible with an internally generated index. We've since added a hook that
> allows plugins to force re-indexing (INDEXER_VERSION_GET), so I guess it's
> safe to let this be handled by a plugin.

I changed it in
https://github.com/splitbrain/dokuwiki/commit/8cd4c12f3e3d5e9665f20afca85123145912c0e9

Could you please have a look at it and see if that's still correct and
also check if my docs at
http://www.dokuwiki.org/devel:event:indexer_text_prepare make any
sense.

Andi


-- 
splitbrain.org
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: