I'm taking an educated guess that this field is a "string" field. In that case, range queries are lexicographical (1, 10, 2, 3, 4...). Use a numeric field type to have range queries work properly. See Solr's example schema.xml for details on these types and range queries.

        Erik



On Apr 22, 2010, at 10:00 AM, ZAROGKIKAS,GIORGOS wrote:

Hi there



I 'm a new solr user

With some problems with facets



I have Index a field  like that

<int name="A00053">9</int>

An I get ranges between

1 an 35

When I Use fq=A00053:[16 TO 30]

I get an results between 1 and 35

It looks like it ignores the second number of each value in my Range



How can I solve that?



Thanks in advance












Reply via email to