Re: Searching for field that contains multiple values

2013-01-28 Thread eShard
ons... Thanks, -- View this message in context: http://lucene.472066.n3.nabble.com/Searching-for-field-that-contains-multiple-values-tp4033944p4036854.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Searching for field that contains multiple values

2013-01-28 Thread Chris Hostetter
: You can also do it on a more straightforward way: preprocess docs to derive : a number_or_colors field, eg. via UpdateProcessor and filter for this field : as usual. i think this is definitely the more natural way for users to address this use case, and requires no custom code... https://luce

Re: Searching for field that contains multiple values

2013-01-16 Thread Mikhail Khludnev
It has been discussed few times - you need to implement own Similarity, which will write number of tokens as a norm during indexing, and then in query time you can check the norm value per document. You can also do it on a more straightforward way: preprocess docs to derive a number_or_colors field

Searching for field that contains multiple values

2013-01-16 Thread Nguyen, Vincent (CDC/OD/OADS) (CTR)
Hi, How do I find documents that have more than one value in a field? Example: blue red Vincent Vu Nguyen