Spatial doesn't (yet) support 3d.  If you have multi-value relationships across 
all 3 parameters you mentioned, then you're a bit stuck.  I thought you had 1d 
(time) multi-value ranges without needing to correlate that to other numeric 
ranges that are also multi-value.

On Sep 21, 2012, at 5:03 PM, Eric Khoury wrote:

> 
> I have to deal with 3 parameters, time filtering, a groupid (1 to 2000) and a 
> quality value (1 to 5), and was hoping to use  a X format = Group.Ticks and Y 
> = quality level, where ticks is the number of ticks for a given time, rounded 
> to the minute.  In other words, my field indexing would look like: <field 
> name="RightsData2">45.634801234 1.5 45.634805667 2.5</field>.  I guess I'm 
> missing something, as I thought that would define a rectangle.  Where do the 
> min max values come into play?  > Date: Fri, 21 Sep 2012 13:55:24 -0700
>> From: dsmi...@mitre.org
>> To: solr-user@lucene.apache.org
>> Subject: Re: Using Solr-3304
>> 
>> 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