[KinoSearch] Incremental indexing and deletion.

Marcus Ramberg marcus at nordaaker.com
Mon Dec 22 03:22:52 PST 2008


On Mon, Dec 22, 2008 at 12:12 AM, Marvin Humphrey <marvin at rectangular.com>wrote:

> The solution is to turn off analysis for the "path" field:
>
>  $invindexer->spec_field(
>     name     => 'path'
>     analyzed => 0,
>  );
>
> You probably want to do the same with your "date" field as well.
>
> FYI, in the devel branch delete_docs_by_term() has been replaced by
> delete_by_term(), which has subtly different behavior: "If C<field> is
> associated with an analyzer, C<term> will be processed automatically (so
> don't
> pre-process it yourself)."
>

Thanks. Setting analyzed => 0 seems to work great. Will deal with the next
version when it goes to CPAN. =)

Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rectangular.com/pipermail/kinosearch/attachments/20081222/d8371e6f/attachment.htm 


More information about the kinosearch mailing list