<div class="gmail_quote">On Mon, Dec 22, 2008 at 12:12 AM, Marvin Humphrey <span dir="ltr"><<a href="mailto:marvin@rectangular.com">marvin@rectangular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The solution is to turn off analysis for the "path" field:<br>
<br>
$invindexer->spec_field(<br>
name => 'path'<br>
analyzed => 0,<br>
);<br>
<br>
You probably want to do the same with your "date" field as well.<br>
<br>
FYI, in the devel branch delete_docs_by_term() has been replaced by<br>
delete_by_term(), which has subtly different behavior: "If C<field> is<br>
associated with an analyzer, C<term> will be processed automatically (so don't<br>
pre-process it yourself)."<br></blockquote></div><br><div>Thanks. Setting analyzed => 0 seems to work great. Will deal with the next version when it goes to CPAN. =)</div><div><br></div><div>Marcus</div>