lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Bell <Bill.B...@statera.com>
Subject Question
Date Fri, 01 Oct 2010 21:58:51 GMT
I have a question concerning SOLR 5 Spatial.

I would like to have a field with multiple LAT/LONG values tied to one ID (multiple offices
for a Doctor) is this possible? Can I do multi-values?

   <field name="store" type="location" indexed="true" stored="true"/>
   <field name="store_lat_lon" type="latLon" indexed="true" stored="true"/>
   <field name="store_hash" type="geohash" indexed="true" stored="false"/>


I think I could add multiple fields, but those fields would not be sortable across 3 fields

fq={!sfilt%20fl=store_lat_lon}&sort=hsin(6371,true,store,vector(39.7391536,-104.9847034))+asc

I would need something like  :

fq={!sfilt%20fl=store_lat_lon}&sort=hsin(6371,true,store OR store1 OR store2,vector(39.7391536,-104.9847034))+asc

Thanks.





Bill Bell | Principal Architect
STATÊRA | www.statera.com<http://www.statera.com>
720.346.0070 x212 - Office | 720.256.8076  - Mobile | bbell@statera.com<mailto:bbell@statera.com>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message