Hi, Its all about how you tokenize the category field. It looks like you are using a string type, which does not tokenize at all (e.g. verbatim) Please use a PatterTokenizer and configure it so that it splits on comma.
Ahmet On Monday, May 16, 2016 2:11 PM, SRINI SOLR <srini.s...@gmail.com> wrote: Hi Team - Can you please help me out on the following ... I have a following field in the solr document which has the comma seperated values like below .. <category>1,456,768,345</category> doc1 <category>456</category> doc2 <category>1,456</category> doc3 So - Here I need to filter the search docs which contains category is 456... when i do like following ... fq=category:456 it is returning only one document doc2 which has only category is 456. <category>456</category> But I need other two also which as this category 456.... Can you please help me out to achieve this ... Thanks & Regards