[
https://issues.apache.org/jira/browse/BLUR-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13725895#comment-13725895
]
Aaron McCurry commented on BLUR-174:
------------------------------------
We don't need to order the documents in search only within a single Row when
the row is being fetched. If you take a look at the BlurUtil.fetchDocuments
class you will see where we select the documents based on families, this is
where we need to enforce the Document/Record order.
There can only be a single family field on a document. In other words, a
Record has a single family and a Record == Document.
Let me know if you have anymore questions.
Thanks!
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