Hi,
I am using group.sort to internally sort the values first based on
store(using function),then stock and finally distance and sort the output
results based on price, but solr does not return the correct results after
sorting.
Below is the sample query:
q=*:*&start=0&rows=200&sort=pricecomm
Thanks David, that was a typo.
Do you see any other issues? While solr does the grouping and if more than
one document which are matched with given group.sort condition(numfound=2),
then that particular document is not sorted correctly, when sorted by
price.(sort=price) is applied across all the gr
Hi Jim,
Yes, you are right.. that document is having price 499.99,
But i want to consider the first record in the group as part of the main
sort.
Even though if i add price asc in the group.sort, but still the main sort
does not consider that.
group.sort=max(if(exists(query({!v='storeName_string:2
*if the number of documents in one group is more than one then you cannot
ensure that this document reflects the main sort
Is there a way the top record which is coming up in the group is considered
for sorting?
We require to show the record from 212(even though price is low) in both the
cases o