My index contains peoples information, name, age, phone email etc.
I am faceting on Age. I group ages kinda like Date Range functionality.
My ranges are:
0 to 10
11 to 20
21 to 30
31 to 40 etc etc
When I do a query:
?q=*:*&facet=true&fq=age:[21+TO+30]
It returns all the ages I want in the range 21 to 30, but it also returns the age 3.
?q=*:*&facet=true&fq=age:[11+TO+20]
this does the same thing, but it returns the age 2.
?q=*:*&facet=true&fq=age:[0+TO+10]
this does the same thing, but it returns the age 1. Can anyone explain this to me - is it a in solr?