Re: Facet values for spacial field

2013-09-11 Thread Erick Erickson
___ > Von: Erick Erickson [erickerick...@gmail.com] > Gesendet: Dienstag, 10. September 2013 19:14 > Bis: solr-user@lucene.apache.org > Betreff: Re: Facet values for spacial field > > You might be able to facet by query, but faceting by > location fields d

AW: Facet values for spacial field

2013-09-11 Thread Köhler Christian
: Erick Erickson [erickerick...@gmail.com] Gesendet: Dienstag, 10. September 2013 19:14 Bis: solr-user@lucene.apache.org Betreff: Re: Facet values for spacial field You might be able to facet by query, but faceting by location fields doesn't make a huge amount of sense, you'll have lots of

Re: Facet values for spacial field

2013-09-10 Thread Upayavira
Note that Solr facets on the *indexed* value, not the stored one. If you want to facet on the points themselves, store them in your index alongside as a 'string' field, and facet on that. But as Erick says, that might give you rather a lot of facets, unless things tend to be grouped by location. U

Re: Facet values for spacial field

2013-09-10 Thread Erick Erickson
You might be able to facet by query, but faceting by location fields doesn't make a huge amount of sense, you'll have lots of facets on individual lat/lon points. What is the use-case you are trying to support here? Best, Erick On Tue, Sep 10, 2013 at 8:43 AM, Christian Köhler - ZFMK wrote: >

Facet values for spacial field

2013-09-10 Thread Christian Köhler - ZFMK
Hi, I use the new SpatialRecursivePrefixTreeFieldType field to store geo coordinates (e.g. 14.021666,51.5433353 ). I can retrieve the coordinates just find so I am sure they are indexed correctly. However when I try to create facets from this field, solr returns something which looks like a hash