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

Aaron McCurry commented on BLUR-174:
------------------------------------

I don't think so.  Since this is part of the fetching call I think the easiest 
way to do this is to simply loop through the families requested to be returned 
and fetch them in that order.  Just to be clear the search has already been 
completed and the Row is just being fetched.  Since there are one or more 
Records (Documents) in a Row, this is only to provide the order in the Row that 
Records should be fetched.

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