lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholas Knize (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-7094) spatial-extras BBoxStrategy and (confusingly!) PointVectorStrategy use legacy numeric encoding
Date Thu, 24 Mar 2016 20:17:25 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-7094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nicholas Knize updated LUCENE-7094:
-----------------------------------
    Attachment: LUCENE-7094.patch

Updated patch includes the following:

* Per request, ComboField deprecation has been removed. I'm still not convinced we need to
keep this around but if its a blocker for the Point cut over I'm fine leaving it alone.
* Moved get/setFieldType back to {{BBoxStrategy}} only
* {{PointVectorStrategy}} requires docvalues without leniency
* {{BBoxStrategy}} and {{PointVectorStrategy}} still index docvalues in a separate field.
This is needed because docvalues on a {{DoubleField}} stores a long cast from the double value,
resulting in truncation of the original double. This is a bug that was not caught before because
the test used whole values instead of decimal values. {{DistanceStrategyTest.testRecipScore}}
was updated to test on decimal values.


> spatial-extras BBoxStrategy and (confusingly!) PointVectorStrategy use legacy numeric
encoding
> ----------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-7094
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7094
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Assignee: Nicholas Knize
>         Attachments: LUCENE-7094.patch, LUCENE-7094.patch
>
>
> We need to deprecate these since they work on the old encoding and provide points based
alternatives.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message