Hello, I'm trying to get Facet By Distance working on an index with LatLonType fields. The schema is as follows:
<fields> ... <field name="trip_duration" type="int" indexed="true" stored="true"/> <field name="start_station" type="location" indexed="true" stored="true" /> <field name="end_station" type="location" indexed="true" stored="true" /> <field name="birth_year" type="int" stored="true"/> <field name="gender" type="int" stored="true" /> ... </fields> And the query I'm running is: q=*:*&sfield=start_station&pt=40.71754834,-74.01322069&facet.query={!frange l=0.0 u=0.1}geodist()&facet.query={!frange l=0.10001 u=0.2}geodist() But it returns all the documents in the index so it seems something is missing. I'm using Solr 4.9.0. -- A. Adel