Re: Solr range search queries

2020-03-11 Thread Paras Lehana
Hi Niharika, Range queries for string fields would work lexicographically and not numeric I think. Read: https://lucene.apache.org/solr/guide/6_6/the-standard-query-parser.html#TheStandardQueryParser-RangeSearches . If this is the case, [2 TO 5] will include 200 and [2 TO 20] will not include 19.

Solr range search queries

2020-03-10 Thread Niharika
hello, I have two field declared in schema xml as * * I want to generate a query to find all the result in specific range for longitude and latitude My query looks like *latitude:[47.010225655683485 TO 52.40241887397332] AND longitude:[-2.021484375004 TO 14.63378906252]* the pro