Distinct Results from Solr Query -


this question has answer here:

i have solr indexed data below

<doc>   <str name="pincode">792056</str>   <str name="city">bijoypur-i bl.i -iii</str>   <str name="district">changlang</str>   <str name="locality">bijoypur-i bl.i -iii</str>   <str name="state">arunachal pradesh</str> </doc> 

my problem 10 distinct pincodes same state have 10 documents , when query states using query http://ip:port/solr/select?q=state:arunachal pradesh returns 10 values same state name, need distinct values of state name only, please me on this

checking grouping/field collapsing feature in solr


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -