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

ASF subversion and git services commented on ATLAS-4254:
--------------------------------------------------------

Commit 35419d6c5a8b1b2bbba60e2f6d6fdf19efd8949b in atlas's branch 
refs/heads/master from Pinal
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=35419d6 ]

ATLAS-4254 : Basic Search : Optimize pagination

Signed-off-by: Pinal <pinal-shah>


> Basic Search : Optimize pagination
> ----------------------------------
>
>                 Key: ATLAS-4254
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4254
>             Project: Atlas
>          Issue Type: Improvement
>          Components:  atlas-core
>            Reporter: Pinal
>            Assignee: Pinal
>            Priority: Major
>              Labels: BasicSearch
>
> *Current Working of Pagination*
>  * When user specifies page information i.e offset and limit in the request, 
> except some condition, offset is reset to 0
>  * Query is then executed from 0 offset and limit
>  * Filter out the results obtained from query
>  * Generate result set by skipping the results from 0 to the given offset
> *New Working Structure*
>  * New Parameter 'marker' (String) has been introduced in SearchParameters 
> which will have encrypted string as value.
>  * The marker should be  set as '*' for the start of the page
>  * The response of above request (AtlasSearchResult) will have 'nextMarker' 
> field which will have encrypted String which is to be passed as value of 
> 'marker' in the subsequent request
>  * if marker is set then offset should not be greater than 0
> *Improvement*
>  * It will increase performance of the basic search 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to