lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Umesh Prasad <umesh.i...@gmail.com>
Subject Re: CollapsingQParserPlugin scores incorrectly in Solr 4.6.0 when multiple sort criteria are used
Date Thu, 12 Dec 2013 04:36:28 GMT
Issue occurs in Single Segment index also ..

sort: "score desc,floSalesRank asc"
response: {

   - numFound: 21461,
   - start: 0,
   - maxScore: 4.4415073,
   - docs: [
      - {
         - floSalesRank: 0,
         - score: 0.123750895,
         - [docid]: 9208
         -




On Thu, Dec 12, 2013 at 9:50 AM, Umesh Prasad <umesh.iitk@gmail.com> wrote:

> Hi All,
>     I am using new CollapsingQParserPlugin for Grouping and found that it
> works incorrectly when I use multiple sort criteria.
>
>
>
> http://localhost:8080/solr/toys/select/?q=car%20and%20toys&version=2.2&start=0&rows=10&indent=on&sort=score%20desc,floSalesRank%20asc&facet=on&facet.field=store_path&facet.mincount=1&bq=store_path:%22mgl/ksc/gcv%22
> ^100000&wt=json&fl=score,floSalesRank,[docid]&bq=id:STFDCHZM3552AHXE^10000000&fq={!collapse%20field=item_id}
>
>
>    - sort: "score desc,floSalesRank asc",
>    - fl: "score,floSalesRank,[docid]",
>    - start: "0",
>    - q: "car and toys",
>    - facet.field: "store_path",
>    - fq: "{!collapse field=item_id}"
>
>
> response:
>
> {
>
>    - numFound: 21461,
>    - start: 0,
>    - maxScore: 4.447499,
>    - docs: [
>       - {
>          - floSalesRank: 0,
>          - score: 0.12396862,
>          - [docid]: 9703
>          },
>       - {
>       -
>
>
> I found a bug opened for same
> https://issues.apache.org/jira/browse/SOLR-5408 ..
>
>
> The bug is closed but I am not really sure that it works specially for
> Multiple segment parts ..
>
> I am using Solr 4.6.0 and my index contains 4 segments ..
>
> Have anyone else faced the same issue ?
>
> ---
> Thanks & Regards
> Umesh Prasad
>



-- 
---
Thanks & Regards
Umesh Prasad

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message