Hi Susheel, You might be able to pull something off using facet.prefix: http://wiki.apache.org/solr/SimpleFacetParameters#facet.prefix. Will work when the prefix is exact and doesn't require any analysis, something along these lines: http://solr.pl/en/2013/03/25/autocomplete-on-multivalued-fields-using-faceting/
Regards, Aloke On Mon, Nov 4, 2013 at 10:44 AM, Susheel Kumar < susheel.ku...@thedigitalgroup.net> wrote: > Hello, > > We have one multivalued field called "dname". When user search for any of > the name like "160 Associates LLC", we are able to get facet, but we only > want values which matches the search query. Is there any way? > > For e.g. assuming below doc, I want to get facet results for only first > value "160 WATER ASSOCIATES LLC" which produced hit not all 3. > ----- > > "dname": [ > "160 WATER ASSOCIATES LLC", > "McDonald", > "Office of Mcdowel Attorney" > ] > > > Thanks in advance and appreciate your help. > > Thanks, > Susheel > > > >