You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Frederic MERCEUR <Fr...@ifremer.fr> on 2015/12/11 10:34:18 UTC

Can Solr5.3 support multiple Geographical enveloppe

Dear All,

do you know if Solr5.3 is supposed to support multiple Geographical 
enveloppe search ?

Indeed, we have a bbox index  defined as follow :

    <field name="bounding_box" type="bbox" indexed="true" stored="true" 
multiValued="true"/>
     <fieldType name="bbox" class="solr.BBoxField" geo="true" 
distanceUnits="degrees" numberType="_bbox_coord" />
     <fieldType name="_bbox_coord" class="solr.TrieDoubleField" 
precisionStep="8" docValues="true" stored="false"/>

When we try to index this record :

     <doc>
         <field name="id">68590130</field>
         <field name="bounding_box">ENVELOPE(-180.0, -118.0, 34.0, 
-34.0)</field>
         <field name="bounding_box">ENVELOPE(151.0, 180.0, 34.0, 
-34.0)</field>
     </doc>

We get this error :

Exception writing document id 88590090 to the index; possible analysis error

And when we remove on of the two bounding_box fields, it is indexed with 
no problem.

Any idea ?

Thanks,
Fred

-- 
Fred Merceur
http://annuaire.ifremer.fr/cv/16828/