[ 
https://issues.apache.org/jira/browse/BLUR-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13724947#comment-13724947
 ] 

Gagan Deep Juneja commented on BLUR-174:
----------------------------------------

If I understand this issue correctly then we need to order the resultant 
documents ( with same row id ) in the order of families passed as per selector. 
So where should we intervene in the existing process, should we alter scoring 
mechanism or write comparator for that, because right now indexSearcher returns 
documents based on the default scoring mechanism. And I don't think the order 
in which we create query would impact this.

Can there be multiple families in same document.

Please share your point of view  on this.

Regards,
Gagan
                
> Respect family order from given selector
> ----------------------------------------
>
>                 Key: BLUR-174
>                 URL: https://issues.apache.org/jira/browse/BLUR-174
>             Project: Apache Blur
>          Issue Type: Bug
>          Components: Blur
>    Affects Versions: 0.2.0
>            Reporter: Aaron McCurry
>            Priority: Minor
>             Fix For: 0.2.0
>
>
> We need to respect the order of the families in the selector.  For instance 
> if a table contains 3 families, "cf1","cf2", and "cf3".  And a fetch (during 
> a query or a fetch call) is performed and the order of the families are 
> "cf2", "cf1" then all the records from the Row that contain "cf2" should come 
> before "cf1".
> Changes needed:
> The families in the Selector object in thrift need to be changed from a set 
> to a list.
> The fetchDocuments method in the BlurUtil class in blur-core needs to be 
> modified to respect the family order.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to