[ 
https://issues.apache.org/jira/browse/SOLR-764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lars Kotthoff updated SOLR-764:
-------------------------------

    Attachment: SOLR-764.patch

Attaching new patch which, as per Yonik's suggestion, doesn't refine facet 
counts when minCount <=1 and sort == false.

Regarding the term order problem, I think it might be best to redesign the 
whole thing. Term order as such probably doesn't make a lot of sense, it's 
really used to get the terms in alphabetical order. So why not drop term order 
altogether and introduce lexicographic order instead. This probably also means 
changing the facet.sort parameter from a boolean to a string -- "count" or 
"lex".

This would mean that the same query will return the same results for both 
distributed and non-distributed setups. The downside is that the facets always 
need to be sorted (i.e. more computation), but according to Wojtek's 
measurements this seems to be neglible.

If this seems like the right direction to go to, we should probably open 
another issue for this.

> Support facet.sort=false (index order) with distributed search
> --------------------------------------------------------------
>
>                 Key: SOLR-764
>                 URL: https://issues.apache.org/jira/browse/SOLR-764
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 1.3
>            Reporter: Wojtek Piaseczny
>             Fix For: 1.4
>
>         Attachments: SOLR-764.patch, SOLR-764.patch
>
>
> Distributed search does not currently support sorting facets by index order 
> (facet.sort=false).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to