[
https://issues.apache.org/jira/browse/ATLAS-2902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16807339#comment-16807339
]
Na Li commented on ATLAS-2902:
------------------------------
the code changes we need to make in order to support sorting is
1) Add sorting parameter in SearchParameters that specifies the sorting field
and the sorting order. For example, PROPERTY_START_TIME + " desc".
2) Change API of AtlasJanusGraph.java.IndexQuery() to pass in the index query
parameters.
3) In EntitySearchProcessor, is sorting parameter is present in
SearchParameters, pass it as one of the index query parameters when calling
AtlasJanusGraph.java.IndexQuery()
4) In ExportImportAuditService.get(), set the sorting parameter in
SearchParameters in order to for index processor (Solr for example) to sort the
result before returning the list of entities.
> Export & Import Process: Audit Logs Are Not Ordered
> ---------------------------------------------------
>
> Key: ATLAS-2902
> URL: https://issues.apache.org/jira/browse/ATLAS-2902
> Project: Atlas
> Issue Type: Bug
> Reporter: Ashutosh Mestry
> Assignee: Na Li
> Priority: Major
> Attachments: ATLAS-2902-Export-Import-Audits-logs-sorted.patch
>
>
> Export-Import audit, are not ordered based on _operationStartTime_.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)