Re: Searching for field that contains multiple values

2013-01-28 Thread eShard
All I had to do was put a wildcard before and after the search term and it would succeed. (*Maritime*) Searching multi value fields wouldn't work any other way. Like so: http://localhost:8080/solr/Blogs/select?q=title%3A*Maritime*&wt=xml but I'll check out those other suggestions... Thanks, -

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