You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "patrick o'leary (JIRA)" <ji...@apache.org> on 2009/01/06 17:54:44 UTC

[jira] Created: (LUCENE-1512) Incorporate GeoHash in contrib/spatial

Incorporate GeoHash in contrib/spatial
--------------------------------------

                 Key: LUCENE-1512
                 URL: https://issues.apache.org/jira/browse/LUCENE-1512
             Project: Lucene - Java
          Issue Type: New Feature
          Components: contrib/spatial
            Reporter: patrick o'leary
            Priority: Minor


Based on comments from Yonik and Ryan in SOLR-773 
GeoHash provides the ability to store latitude / longitude values in a single field consistent hash field.
Which elements the need to maintain 2 field caches for latitude / longitude fields, reducing the size of an index
and the amount of memory needed for a spatial search.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (LUCENE-1512) Incorporate GeoHash in contrib/spatial

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661241#action_12661241 ] 

Ryan McKinley commented on LUCENE-1512:
---------------------------------------

Any chance you could make a new patch without SerialChainFilter moved to search?

Should we make a new package for geohash based things?
org.apache.lucene.spatial.geohash
 - GeoHashUtils
 - GeoHashDistanceFilter

Also, the spacing for GeoHashUtils should be 2 spaces rather then 4.







> Incorporate GeoHash in contrib/spatial
> --------------------------------------
>
>                 Key: LUCENE-1512
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1512
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/spatial
>            Reporter: patrick o'leary
>            Priority: Minor
>         Attachments: LUCENE-1512.patch
>
>
> Based on comments from Yonik and Ryan in SOLR-773 
> GeoHash provides the ability to store latitude / longitude values in a single field consistent hash field.
> Which elements the need to maintain 2 field caches for latitude / longitude fields, reducing the size of an index
> and the amount of memory needed for a spatial search.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (LUCENE-1512) Incorporate GeoHash in contrib/spatial

Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grant Ingersoll resolved LUCENE-1512.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.9
    Lucene Fields:   (was: [New])

> Incorporate GeoHash in contrib/spatial
> --------------------------------------
>
>                 Key: LUCENE-1512
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1512
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/spatial
>            Reporter: patrick o'leary
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: LUCENE-1512.patch, LUCENE-1512.patch
>
>
> Based on comments from Yonik and Ryan in SOLR-773 
> GeoHash provides the ability to store latitude / longitude values in a single field consistent hash field.
> Which elements the need to maintain 2 field caches for latitude / longitude fields, reducing the size of an index
> and the amount of memory needed for a spatial search.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (LUCENE-1512) Incorporate GeoHash in contrib/spatial

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661643#action_12661643 ] 

Ryan McKinley commented on LUCENE-1512:
---------------------------------------

Thanks patrick!

I just committed this, the only change is that I used StringBuilder rather then StringBuffer.

The precision is hard coded to 12 -- perhaps we could make that a variable?  

> Incorporate GeoHash in contrib/spatial
> --------------------------------------
>
>                 Key: LUCENE-1512
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1512
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/spatial
>            Reporter: patrick o'leary
>            Assignee: Ryan McKinley
>            Priority: Minor
>         Attachments: LUCENE-1512.patch, LUCENE-1512.patch
>
>
> Based on comments from Yonik and Ryan in SOLR-773 
> GeoHash provides the ability to store latitude / longitude values in a single field consistent hash field.
> Which elements the need to maintain 2 field caches for latitude / longitude fields, reducing the size of an index
> and the amount of memory needed for a spatial search.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (LUCENE-1512) Incorporate GeoHash in contrib/spatial

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788037#action_12788037 ] 

Simon Willnauer commented on LUCENE-1512:
-----------------------------------------

Is this isssue still relevant? seems like it has been committted

> Incorporate GeoHash in contrib/spatial
> --------------------------------------
>
>                 Key: LUCENE-1512
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1512
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/spatial
>            Reporter: patrick o'leary
>            Assignee: Ryan McKinley
>            Priority: Minor
>         Attachments: LUCENE-1512.patch, LUCENE-1512.patch
>
>
> Based on comments from Yonik and Ryan in SOLR-773 
> GeoHash provides the ability to store latitude / longitude values in a single field consistent hash field.
> Which elements the need to maintain 2 field caches for latitude / longitude fields, reducing the size of an index
> and the amount of memory needed for a spatial search.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (LUCENE-1512) Incorporate GeoHash in contrib/spatial

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661223#action_12661223 ] 

Ryan McKinley commented on LUCENE-1512:
---------------------------------------

This is awesome.  thanks patrick!

> Incorporate GeoHash in contrib/spatial
> --------------------------------------
>
>                 Key: LUCENE-1512
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1512
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/spatial
>            Reporter: patrick o'leary
>            Priority: Minor
>         Attachments: LUCENE-1512.patch
>
>
> Based on comments from Yonik and Ryan in SOLR-773 
> GeoHash provides the ability to store latitude / longitude values in a single field consistent hash field.
> Which elements the need to maintain 2 field caches for latitude / longitude fields, reducing the size of an index
> and the amount of memory needed for a spatial search.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Assigned: (LUCENE-1512) Incorporate GeoHash in contrib/spatial

Posted by "Ryan McKinley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley reassigned LUCENE-1512:
-------------------------------------

    Assignee: Ryan McKinley

> Incorporate GeoHash in contrib/spatial
> --------------------------------------
>
>                 Key: LUCENE-1512
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1512
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/spatial
>            Reporter: patrick o'leary
>            Assignee: Ryan McKinley
>            Priority: Minor
>         Attachments: LUCENE-1512.patch, LUCENE-1512.patch
>
>
> Based on comments from Yonik and Ryan in SOLR-773 
> GeoHash provides the ability to store latitude / longitude values in a single field consistent hash field.
> Which elements the need to maintain 2 field caches for latitude / longitude fields, reducing the size of an index
> and the amount of memory needed for a spatial search.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (LUCENE-1512) Incorporate GeoHash in contrib/spatial

Posted by "patrick o'leary (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

patrick o'leary updated LUCENE-1512:
------------------------------------

    Attachment: LUCENE-1512.patch

spatial-lucene GeoHash implementation based on http://en.wikipedia.org/wiki/Geohash
removable dependency on refactoring in LUCENE-1504

> Incorporate GeoHash in contrib/spatial
> --------------------------------------
>
>                 Key: LUCENE-1512
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1512
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/spatial
>            Reporter: patrick o'leary
>            Priority: Minor
>         Attachments: LUCENE-1512.patch
>
>
> Based on comments from Yonik and Ryan in SOLR-773 
> GeoHash provides the ability to store latitude / longitude values in a single field consistent hash field.
> Which elements the need to maintain 2 field caches for latitude / longitude fields, reducing the size of an index
> and the amount of memory needed for a spatial search.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (LUCENE-1512) Incorporate GeoHash in contrib/spatial

Posted by "patrick o'leary (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

patrick o'leary updated LUCENE-1512:
------------------------------------

    Attachment: LUCENE-1512.patch

Made necessary changes 
* Formatting fixed
* Removed dependency on LUCENE-1504
* Moved GeoHash elements into o.a.l.spatial.geohash


> Incorporate GeoHash in contrib/spatial
> --------------------------------------
>
>                 Key: LUCENE-1512
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1512
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: contrib/spatial
>            Reporter: patrick o'leary
>            Priority: Minor
>         Attachments: LUCENE-1512.patch, LUCENE-1512.patch
>
>
> Based on comments from Yonik and Ryan in SOLR-773 
> GeoHash provides the ability to store latitude / longitude values in a single field consistent hash field.
> Which elements the need to maintain 2 field caches for latitude / longitude fields, reducing the size of an index
> and the amount of memory needed for a spatial search.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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