useblocks / docusar-pub

Issue tracker for Docusar Frontend
0 stars 0 forks source link

Deep search sorting incorrect on page #30

Closed ubmarco closed 1 year ago

ubmarco commented 1 year ago

Deep search results are sorted incorrect on a page: image

image

Fragment sort order should be as the results appear in the document (top to bottom and left to right).

ubmarco commented 1 year ago

Fixed by switching from OpenSearch scroll_id to result sorting algorithm. OpenSearch returns results in order of PDF uid/page/y/x coordinates now.