[
https://issues.apache.org/jira/browse/LUCENENET-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prescott Nasser closed LUCENENET-431.
-------------------------------------
> Spatial.Net Cartesian won't find docs in radius in certain cases
> ----------------------------------------------------------------
>
> Key: LUCENENET-431
> URL: https://issues.apache.org/jira/browse/LUCENENET-431
> Project: Lucene.Net
> Issue Type: Bug
> Components: Lucene.Net Contrib
> Affects Versions: Lucene.Net 2.9.4, Lucene.Net 2.9.4g
> Environment: Windows 7 x64
> Reporter: Olle Jacobsen
> Assignee: Prescott Nasser
> Labels: spatialsearch
> Fix For: Lucene.Net 2.9.4, Lucene.Net 2.9.4g
>
> Attachments: Lucenenet-431-Spatial.Net
>
>
> To replicate change Lucene.Net.Contrib.Spatial.Test.TestCartesian to the
> following witch should return 3 results.
> Line
> 42: private double _lat = 55.6880508001;
> 43: private double _lng = 13.5871808352; // This passes: 13.6271808352
> 73: AddPoint(writer, "Within radius", 55.6880508001, 13.5717346673);
> 74: AddPoint(writer, "Within radius", 55.6821978456, 13.6076183965);
> 75: AddPoint(writer, "Within radius", 55.673251569, 13.5946697607);
> 76: AddPoint(writer, "Close but not in radius", 55.8634157297, 13.5497731987);
> 77: AddPoint(writer, "Faar away", 40.7137578228, -74.0126901936);
> 130: const double miles = 5.0;
> 156: Console.WriteLine("Distances should be 3 " + distances.Count);
> 157: Console.WriteLine("Results should be 3 " + results);
> 159: Assert.AreEqual(3, distances.Count); // fixed a store of only needed
> distances
> 160: Assert.AreEqual(3, results);
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira