For your use-case of time ranges, set geo="false" (as you've done).  At this 
point you have a quad tree but it doesn't (yet) work properly for the default 
min & max numbers that a double can store, so you need to specify the boundary 
rectangle explicitly and to the particular numbers for your use-case.  Use 0 
for the 'Y's.  Think about the smallest granularity of time you need (a 
minute?) and what the earliest time you need to recognize and the furthest out 
as measured in your time granularity (in minutes?).  The boundary minX can be 
zero which will be your epoch, and the maxX will be the farthest out in time 
you can go -- who knows.  Set maxDetailDist to 1.

On Sep 21, 2012, at 4:44 PM, Eric Khoury [via Lucene] wrote:


David, I tried increasing the maxDetailDist, as I need 9 decimal value 
precision.    <fieldType name="rectangle" 
class="solr.SpatialRecursivePrefixTreeFieldType" geo="false" distErrPct="0.025" 
maxDetailDist="0.000000001" />  But when I do, I get the following error: Data 
"SEVERE: org.apache.solr.common.SolrException: ERROR: [doc=MV000000050000] 
Error adding field 'rectangle'='45.634801234 1.5 45.634805667 2.5' msg=Y values 
[-1.7976931348623157E308 to Infinity] not in boundary 
Rect(minX=-1.7976931348623157E308,maxX=1.7976931348623157E308,minY=-1.7976931348623157E308,maxY=1.7976931348623157E308)"
 string
Any ideas?Eric. PS: what does geo=true\false change?
 > Date: Fri, 21 Sep 2012 10:34:07 -0700

> From: [hidden 
> email]<x-msg://330/user/SendEmail.jtp?type=node&node=4009479&i=0>
> To: [hidden email]<x-msg://330/user/SendEmail.jtp?type=node&node=4009479&i=1>
> Subject: Re: Using Solr-3304
>
> http://wiki.apache.org/solr/SolrAdaptersForLuceneSpatial4
> Definitely needs some updating; I will try to get to that this weekend.
>
>
>
> -----
>  Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-4-0-Join-performance-tp3998827p4009454.html
> Sent from the Solr - User mailing list archive at 
> Nabble.com<http://Nabble.com>.


________________________________
If you reply to this email, your message will be added to the discussion below:
http://lucene.472066.n3.nabble.com/Solr-4-0-Join-performance-tp3998827p4009479.html
To unsubscribe from Solr 4.0 - Join performance, click 
here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3998827&code=RFNNSUxFWUBtaXRyZS5vcmd8Mzk5ODgyN3wxMDE2NDI2OTUw>.
NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>





-----
 Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-4-0-Join-performance-tp3998827p4009483.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to