Grokbase Groups Lucene dev June 2016
FAQ
Nicholas Knize created LUCENE-7343:
--------------------------------------

              Summary: Cleanup GeoPoint Query implementation
                  Key: LUCENE-7343
                  URL: https://issues.apache.org/jira/browse/LUCENE-7343
              Project: Lucene - Core
           Issue Type: Improvement
             Reporter: Nicholas Knize


This is a cleanup task to simplify and trim dead code from GeoPointField's query classes. Much of the relation logic in {{LatLonPoint}} can also be applied to GeoPointField's {{CellComparator}} class eliminating the need to carry its own separate relation methods.



--
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

Search Discussions

  • Nicholas Knize (JIRA) at Jun 17, 2016 at 9:14 pm
    [ https://issues.apache.org/jira/browse/LUCENE-7343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    First iteration patch:

    * Eliminates dead code from {{GeoPointTermsEnum}} left over from the legacy numeric implementation
    * Simplifies {{CellComparator}} by squashing separate {{within}}, {{crosses}} methods into a single {{relate}} method
    * {{GeoPointDistanceQuery}} uses haversine {{sortKey}} approach similar to {{LatLonPointDistanceQuery}}
    Cleanup GeoPoint Query implementation
    -------------------------------------

    Key: LUCENE-7343
    URL: https://issues.apache.org/jira/browse/LUCENE-7343
    Project: Lucene - Core
    Issue Type: Improvement
    Reporter: Nicholas Knize
    Attachments: LUCENE-7343.patch


    This is a cleanup task to simplify and trim dead code from GeoPointField's query classes. Much of the relation logic in {{LatLonPoint}} can also be applied to GeoPointField's {{CellComparator}} class eliminating the need to carry its own separate relation methods.


    --
    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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieslucene
postedJun 17, '16 at 9:07p
activeJun 17, '16 at 9:14p
posts2
users1
websitelucene.apache.org

1 user in discussion

Nicholas Knize (JIRA): 2 posts

People

Translate

site design / logo © 2019 Grokbase