hi all,

i'm having trouble with what would seem to be a pretty straightforward
filter.

i'm trying to 'tag' documents based off of a list of relevant words that a
description field may contain. if the data contains any of the words then
this field is populated with it and acts as a quick reference for
relevant/bucketed documents.

i receive no errors when reloading the core or indexing the data. each
document, however, has its description listed in this tag field *even if
none of the targeted words are in it.*

here's the analyzer, tokenizer, and filter:

<analyzer>
        <tokenizer class="solr.StandardTokenizerFactory" />
        <filter class="solr.KeepWordFilterFactory" words="tags.txt"
ignoreCase="true"/>
</analyzer>

to add to the confusion, when i run test data through both of the
appropriate FieldName/FieldType in the Analysis UI I get the expected
results: the non-targeted words are left out of processing.

thanks for any info/help-

Reply via email to