I have a solr index with approximately 100,000 positions. One index field is an integer that can range from 0 to INT_MAX (actually the highest value in the index is 157). I try to do range queries in this field, and get very strange results:
:
- nb_validations: [10 TO *] => returns 40,499 elements
- nb_validations: [9 TO *] => returns 6 elements ( should there be at least 40499 ?? !! )
- nb_validations: [8 TO *] => returns 13 elements
exact matches:
- nb_validations: 10 => returns 2005 items
- nb_validations: 9 => returns 6 elements
I have no errors in the logs, and my solr configuration looks fine. The field is declared as int and indexed and stored.
What is wrong with that? Can my index be corrupted?
Thanks.
source share