Spacial search returns us wrong results

2015-11-04 Thread Frederic MERCEUR

Dear All,

I have a problem with the spacial search that returns us wrong results.

Here is the way I declare our spacial bbox index with Solr 5.4 :


id



distanceUnits="kilometers" numberType="_bbox_coord"/>
precisionStep="8" docValues="true" stored="false"/>

[...]


Here the data we submit with a zone in the french coast :

8070070
ECLAIR3
ENVELOPE(-1.0, -2.5, 46.0, 45.0)



Here the way we query Solr (the Aral sea) :
http://[...]/select?q=*:*&fq={!field 
f=bounding_box}Intersects(ENVELOPE(58,62,46,43))&fq=cam_name:ECLAIR3


And here the the result we get. According to Solr the Aral sea is in the 
French coast :



0
0

*:*

{!field 
f=bounding_box}Intersects(ENVELOPE(58,62,46,43))

cam_name:ECLAIR3





8070070
ECLAIR3
[...]
ENVELOPE(-1.0, -2.5, 46.0, 45.0)

Do you see if I did something wrong ?

Thanks for your help.

Kind regards,
Fred


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


Can Solr5.3 support multiple Geographical enveloppe

2015-12-11 Thread Frederic MERCEUR

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 :

   multiValued="true"/>
distanceUnits="degrees" numberType="_bbox_coord" />
precisionStep="8" docValues="true" stored="false"/>


When we try to index this record :


68590130
ENVELOPE(-180.0, -118.0, 34.0, 
-34.0)
ENVELOPE(151.0, 180.0, 34.0, 
-34.0)



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/


How to boost a field copied in the Text Field

2016-10-14 Thread Frederic MERCEUR

Hello,

we use Solr to describe datasets with several metadata (title, authors, 
description, etc). We copy all these metadata in the Text field to offer 
a default search to our end-users so they can make a search on all 
metadata in one search :


multiValued="true" required="true"/>
stored="true" multiValued="true"/>

...



...

We can then query the default Text field in this way :

http://solr[...]/select?q=fish

Is there a way to boost the Title field copied in the Text Field ? So 
the dataset that contain the word  "fish" in their title will be 
displayed first ?


I have find some information about the boost option in Solr but I cant' 
find if it is possible to boost a field copied in the Text field ?


Thanks,
Fred


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