This content has been marked as final.
Show 2 replies
-
1. Re: Queries using indexes always return 100 results only.
hchiorean Oct 28, 2015 12:17 PM (in response to folch)- if I execute this query: select * from hes:document (with LIMIT 501). I receive 501 document results. If I'm not wrong I'm not using any index.
- if I execute this query: select * from hes:document where deleted = false (with LIMIT 501). I only receive 100 documents. In that case I'm using the index.
- if I execute this query: select * from hes:document where deleted = false (without LIMIT 501). I receive 20000 documents. In that case I'm using the index but not limiting the query.
Based on your last statement, the index seems to contain all the expected information (i.e. the index isn't corrupt/missing data). If that's the case, it's probably a bug somewhere around queries which have a limit set and which use indexes. If you can provide a test case for this, please log a JIRA. Thanks.
-
2. Re: Queries using indexes always return 100 results only.
hchiorean Oct 29, 2015 5:01 AM (in response to hchiorean)1 of 1 people found this helpful