[ 
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

Patch implementing support for facet.sort=false with distributed search.

Simplified the existing code by removing things that weren't used and added an 
additional method to sort facets by term number. Note that this implementation 
is flawed -- there are no distributed term numbers, therefore it's possible 
that several facet values have the same term number because they come from 
different shards. In that case the lexicographic order of the value will be 
used to break the tie. It is possible that facet values are returned in a 
different order for distributed and local setups.

The patch also adds a unit test, commented out because of the issues described 
above.

> 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
>
>
> 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