[ 
https://issues.apache.org/jira/browse/SOLR-764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630423#action_12630423
 ] 

Yonik Seeley commented on SOLR-764:
-----------------------------------

bq. How is the refinement different? 

The lists are merged by sorting, then a window is selected to return.

For facets sorted by count, the counts (and thus the order) may not be correct. 
 Facet terms outside the window may actually be inside the window (or above it, 
changing the order).  The code calculates what terms (out of all those 
returned) could possibly change what the window looks like, taking into account 
the maximum value it could have for each shard based on what it saw from each.

For facets sorted by index order, the window into the list will not change 
based on any facet refinements.  Actually, we should remove any amount of 
"over-requesting" when sorting by index order.  The counts could be off 
though... we may not have the counts from certain shards.  So we only have to 
request counts when:
- the term is in the window to be returned
- the term is missing from a shard, *and* that term comes *after* the last term 
the shard returned.


> 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