Hi guys,

Although i've been looking at Solr on and off for a few months, I'm still
getting to grips with the schema and filter/tokenizers.

I'm having trouble using the "solr.KeepWordFilterFactory" functionality and
there doesnt appear to be previous discussions here regarding it. I
basically have a short text field (~100 chars on average) that i wish to be
returned as a facet, but only some or parts of the field based on keepwords
stored in a file.

An example:
My schema is about web files. Part of the syntax is a text field of authors
that have worked on each file, e.g.
<file>
    <filename>login.php</filename>
   <lastModDate>2009-01-01</lastModDate>
   <authors>alex, brian, carl carlington, dave alpha, eddie, dave
beta</authors>
</file>

When I perform a search and get 20 web files back, I would like a facet of
the individual authors, but only if there name appears in a
public_authors.txt file.

So if the public_authors.txt file contained:
Anna,
Bob,
Carl Carlington,
Dave Alpha,
Elvis,
Eddie,

The facet returned would be:
Carl Carlington
Dave Alpha
Eddie



Not sure if that makes sense? If it does, could someone explain to me the
schema fieldtype declarations that would bring back this sort of results.

Thanks for any help

Paul
-- 
View this message in context: 
http://www.nabble.com/Keepwords-Schema-tp25696896p25696896.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to