Hello,
I am currently using Search After component of Search API for Java.
The question I have involves the total hits that are tracked as part of each query. Let's say there's an index that contains 100 records for a specific search criteria. If I initially perform a query to retrieve the first 50 records followed by a second query to retrieve the remaining 50, the total hits value is returned as 100, whereas I would expect to get 50, since the search criteria was meant for the documents "after" the first 50. Given the circumstance, is there any way to retrieve the total hits value that represents the number of records that come after a given search after context?
Thank you.