On Thu, Jul 7, 2011 at 3:35 AM, Christian <engr...@gmail.com> wrote: [...] > This is great for finding all things with or without profanity (as separate > queries), but I would like to get the value as part of a the query and let > the consumer of the call decide what to do with the data. > > Is there a way to do this w/o having to instantiate a KeepWordFilterFactory > in the Java class that is responsible for inserting the document into Solr? > For example, I know that I can do this in Java code during the insert, but I > would rather get the indexed value (the one that shows up when faceting). > > Please let me know if this is not clear.
Not sure that I follow what you are after: * If you are using this field as part of faceting, the facet values should be what you are after. * In the general case, if you want to retrieve the actual value, you should have both indexed=true, and stored=true. Regards, Gora