incubator-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McKinley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (INCUBATOR-77) [IP-GRANT] Local Lucene/Solr Code Dump
Date Wed, 17 Sep 2008 19:33:44 GMT

    [ https://issues.apache.org/jira/browse/INCUBATOR-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631893#action_12631893
] 

Ryan McKinley commented on INCUBATOR-77:
----------------------------------------

Unless someone else is working on this, i'll take over getting it ready and integrated.

The key tasks are:
 * remove LGPL libraries: geoapi-nogenerics-2.1-M2.jar / gt2-referencing-2.3.1.jar 
    - Currently, this is just used for a DistanceUtils.orthodromicDistance().  Since a proper
orthodromicDistance calculation is rather involved, I will replace this with an earth as sphere
approximation and hope that down the line someone will beef it up.  

* Remove the LGPL file: LonLatTrig  -- the functions in here are relatively simple trig stuff:
{code:java}
   public static final double getDistanceKm(double lon1, double lat1, double lon2, double
lat2) {
   public static final double getDistanceMi(double lon1, double lat1, double lon2, double
lat2) {
   public static final Point2D getPointOnRadialKm(double lon, double lat, double km, double
radial) {
   public static final Point2D getPointOnRadialMi(double lon, double lat, double mi, double
radial) {
   public static final Rectangle2D getRadiusBoundsKm(double lon, double lat, double km) {
   public static final Rectangle2D getRadiusBoundsMi(double lon, double lat, double mi) {
{code}


* For now, I will leave out the localcinema demo since it links to gwt

- - - -

Do we refactor the package names?  Currently, the code lives in:
 com.pjaol.search.*
 com.mapquest.localsolr;

If so, what should the target packages be?  Should this take "geo" just like spelling takes
"spell"
 org.apache.lucene.geo
and
 org.apache.solr.geo

perhaps "gis", "geosearch" -- "local" does not seem quite right as it could also be "global"

ryan




> [IP-GRANT] Local Lucene/Solr Code Dump
> --------------------------------------
>
>                 Key: INCUBATOR-77
>                 URL: https://issues.apache.org/jira/browse/INCUBATOR-77
>             Project: Incubator
>          Issue Type: New Feature
>         Environment: lucene.apache.org
>            Reporter: Ian Holsman
>         Attachments: locallucene.tgz.asc
>
>
> $ rpm -qf $(which md5sum)
> coreutils-5.97-12.1.el5
> $ md5sum locallucene.tgz
> e470f7dfd963994eebb6c5002f810549  locallucene.tgz

-- 
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: general-unsubscribe@incubator.apache.org
For additional commands, e-mail: general-help@incubator.apache.org


Mime
View raw message