Re: Query on multi valued field

2013-11-14 Thread giridhar
in context: http://lucene.472066.n3.nabble.com/Query-on-multi-valued-field-tp3209343p4100937.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Query on multi valued field

2013-11-14 Thread Upayavira
On Thu, Nov 14, 2013, at 03:45 PM, giridhar wrote: Hi, I want to search in a multivalued field. For example, my field FormIds contains (1,2,3) as comma separated. If i search for 1 or (1,2) or (1,3) or (2,3) or (1,2,3) any combination like this should work. How to define this

Re: Query on multi valued field

2013-11-14 Thread Jack Krupansky
: Query on multi valued field Hi, I want to search in a multivalued field. For example, my field FormIds contains (1,2,3) as comma separated. If i search for 1 or (1,2) or (1,3) or (2,3) or (1,2,3) any combination like this should work. How to define this multivalued integer field type. Thankyou

Re: Query on multi valued field

2013-11-14 Thread Jack Krupansky
s/work/word/ word delimiter filter -- Jack Krupansky -Original Message- From: Jack Krupansky Sent: Thursday, November 14, 2013 11:34 AM To: solr-user@lucene.apache.org Subject: Re: Query on multi valued field I suppose you could define the field as tokenized text with the work

Re: filter query on multi-Valued field

2013-02-28 Thread Jack Krupansky
value, such as: initials:[MKN, JRT] -- Jack Krupansky -Original Message- From: Deepak Sent: Thursday, February 28, 2013 8:05 AM To: solr-user@lucene.apache.org Subject: filter query on multi-Valued field Hi How can I filter results using filter query on multi-Valued field. Here

Re: filter query on multi-Valued field

2013-02-28 Thread Deepak Parmar
: Thursday, February 28, 2013 8:05 AM To: solr-user@lucene.apache.org Subject: filter query on multi-Valued field Hi How can I filter results using filter query on multi-Valued field. Here are sample two records { sub_count:8, long_name:Mike, first_name:John, id

Re: Query on multi valued field

2011-08-02 Thread Chris Hostetter
: The query is get only those documents which have multiple elements for : that multivalued field. : : I.e, doc 2 and 3 should be returned from the above set.. The only way to do something like this is to add a field when you index your documents that contains the number and then filter

Re: Query on multi valued field

2011-08-02 Thread rajini maski
Thank you. This logic works for me. Thanks a lot. Regards, Rajani Maski On Wed, Aug 3, 2011 at 1:21 AM, Chris Hostetter hossman_luc...@fucit.orgwrote: : The query is get only those documents which have multiple elements for : that multivalued field. : : I.e, doc 2 and 3 should

Re: Query on multi valued field

2011-07-31 Thread Alexei Martchenko
have you tried multi:1 and multi:2 and multi:3 ? 2011/7/29 rajini maski rajinima...@gmail.com Hi All, I have a specific requirement in the multi-valued field type.The requirement is as follows There is a multivalued field in each document which can have mutliple elements or single

Query on multi valued field

2011-07-29 Thread rajini maski
Hi All, I have a specific requirement in the multi-valued field type.The requirement is as follows There is a multivalued field in each document which can have mutliple elements or single element. For Eg: Consider that following are the documents matched for say q= *:* *DOC1* doc arr