Open danka74 opened 2 years ago
When searching using an ECL expression with dot notation searchAfter does not work. The same result set (.items) and searchAfter is returned. E.g.
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Accept-Language: en-X-900000000000509007,en-X-900000000000508004,en' -d '{ "eclFilter": "<<763158003 |Medicinal product|.<<410662002 |Concept model attribute|" }' 'http://host:8080/snowstorm/MAIN/concepts/search'
gives:
... ], "total": 5217, "limit": 50, "searchAfter": "WzIxMTAwMDIyMTEwOF0=", "searchAfterArray": [ 211000221108 ] }
but searching using searchAfter gives the exact same results back.
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Accept-Language: en-X-900000000000509007,en-X-900000000000508004,en' -d '{ "eclFilter": "<<763158003 |Medicinal product|.<<410662002 |Concept model attribute|", "searchAfter": "WzIxMTAwMDIyMTEwOF0=" }' 'http://host:8080/snowstorm/MAIN/concepts/search'
@danka74 It is a bug and I will raise a ticket to get this fixed.
When searching using an ECL expression with dot notation searchAfter does not work. The same result set (.items) and searchAfter is returned. E.g.
gives:
but searching using searchAfter gives the exact same results back.