Apache Solr open-source search software
LUCENE-6607: factor geo3d out to its own spatial3d module
Michael McCandlessee3cb864645a
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txtindex f89861eab04..9c3dd45a9bf 100644--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@ -199,6 +199,9 @@ API Changesdeprecated in favour of BitSetProducer and QueryBitSetProducer, which do notextend oal.search.Filter. (Adrien Grand)+* LUCENE-6607: Factor out geo3d into its own spatial3d module. (Karl+ Wright, Nick Knize, David Smiley, Mike McCandless)+Bug fixes* LUCENE-6500: ParallelCompositeReader did not always calldiff --git a/lucene/build.xml b/lucene/build.xmlindex 357e68d5df5..48e1e41ef13 100644--- a/lucene/build.xml+++ b/lucene/build.xml@@ -188,6 +188,9 @@<check-missing-javadocs dir="build/docs/core/org/apache/lucene/search/similarities" level="method"/><check-missing-javadocs dir="build/docs/core/org/apache/lucene/index" level="method"/><check-missing-javadocs dir="build/docs/core/org/apache/lucene/codecs" level="method"/>++ <!-- spatial3d: problems -->+ <!-- <check-missing-javadocs dir="build/docs/spatial3d" level="method"/>--></target><target name="-ecj-javadoc-lint" depends="compile,compile-test,-ecj-javadoc-lint-unsupported,-ecj-resolve" if="ecj-javadoc-lint.supported">diff --git a/lucene/module-build.xml b/lucene/module-build.xmlindex 5a8fe9b9a69..a0b4dc17590 100644--- a/lucene/module-build.xml+++ b/lucene/module-build.xml@@ -585,6 +585,28 @@<property name="sandbox-javadocs.uptodate" value="true"/></target>+ <property name="spatial3d.jar" value="${common.dir}/build/spatial3d/lucene-spatial3d-${version}.jar"/>+ <target name="check-spatial3d-uptodate" unless="spatial3d.uptodate">+ <module-uptodate name="spatial3d" jarfile="${spatial3d.jar}" property="spatial3d.uptodate"/>+ </target>+ <target name="jar-spatial3d" unless="spatial3d.uptodate" depends="check-spatial3d-uptodate">+ <ant dir="${common.dir}/spatial3d" target="jar-core" inheritAll="false">+ <propertyset refid="uptodate.and.compiled.properties"/>+ </ant>+ <property name="spatial3d.uptodate" value="true"/>+ </target>++ <property name="spatial3d-javadoc.jar" value="${common.dir}/build/spatial3d/lucene-spatial3d-${version}-javadoc.jar"/>+ <target name="check-spatial3d-javadocs-uptodate" unless="spatial3d-javadocs.uptodate">+ <module-uptodate name="spatial3d" jarfile="${spatial3d-javadoc.jar}" property="spatial3d-javadocs.uptodate"/>+ </target>+ <target name="javadocs-spatial3d" unless="spatial3d-javadocs.uptodate" depends="check-spatial3d-javadocs-uptodate">+ <ant dir="${common.dir}/spatial3d" target="javadocs" inheritAll="false">+ <propertyset refid="uptodate.and.compiled.properties"/>+ </ant>+ <property name="spatial3d-javadocs.uptodate" value="true"/>+ </target>+<property name="spatial.jar" value="${common.dir}/build/spatial/lucene-spatial-${version}.jar"/><target name="check-spatial-uptodate" unless="spatial.uptodate"><module-uptodate name="spatial" jarfile="${spatial.jar}" property="spatial.uptodate"/>diff --git a/lucene/spatial/build.xml b/lucene/spatial/build.xmlindex 1dc5cd5aedd..4c348eebcc6 100644--- a/lucene/spatial/build.xml+++ b/lucene/spatial/build.xml@@ -33,6 +33,7 @@<path refid="spatialjar"/><pathelement path="${queries.jar}" /><pathelement path="${misc.jar}" />+ <pathelement path="${spatial3d.jar}" /></path><path id="test.classpath">@@ -41,14 +42,15 @@<pathelement path="src/test-files" /></path>- <target name="compile-core" depends="jar-queries,jar-misc,common.compile-core" />+ <target name="compile-core" depends="jar-queries,jar-misc,jar-spatial3d,common.compile-core" />- <target name="javadocs" depends="javadocs-queries,javadocs-misc,compile-core,check-javadocs-uptodate"+ <target name="javadocs" depends="javadocs-queries,javadocs-misc,javadocs-spatial3d,compile-core,check-javadocs-uptodate"unless="javadocs-uptodate-${name}"><invoke-module-javadoc><links><link href="../queries"/><link href="../misc"/>+ <link href="../spatial3d"/></links></invoke-module-javadoc></target>diff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShape.java b/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShape.javaindex fe95fb49931..428ee9e9a65 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShape.java+++ b/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShape.java@@ -24,12 +24,12 @@ import com.spatial4j.core.shape.Rectangle;import com.spatial4j.core.shape.Shape;import com.spatial4j.core.shape.SpatialRelation;import com.spatial4j.core.shape.impl.RectangleImpl;-import org.apache.lucene.spatial.spatial4j.geo3d.Bounds;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoArea;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoAreaFactory;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoPoint;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoShape;-import org.apache.lucene.spatial.spatial4j.geo3d.PlanetModel;+import org.apache.lucene.geo3d.Bounds;+import org.apache.lucene.geo3d.GeoArea;+import org.apache.lucene.geo3d.GeoAreaFactory;+import org.apache.lucene.geo3d.GeoPoint;+import org.apache.lucene.geo3d.GeoShape;+import org.apache.lucene.geo3d.PlanetModel;/*** A Spatial4j Shape wrapping a {@link GeoShape} ("Geo3D") -- a 3D planar geometry based Spatial4j Shape implementation.diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dRptTest.java b/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dRptTest.javaindex 85b2fbd7432..82213191c4c 100644--- a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dRptTest.java+++ b/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dRptTest.java@@ -33,13 +33,13 @@ import org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree;import org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree;import org.apache.lucene.spatial.query.SpatialOperation;import org.apache.lucene.spatial.serialized.SerializedDVStrategy;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoBBoxFactory;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoCircle;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoPath;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoPoint;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoPolygonFactory;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoShape;-import org.apache.lucene.spatial.spatial4j.geo3d.PlanetModel;+import org.apache.lucene.geo3d.GeoBBoxFactory;+import org.apache.lucene.geo3d.GeoCircle;+import org.apache.lucene.geo3d.GeoPath;+import org.apache.lucene.geo3d.GeoPoint;+import org.apache.lucene.geo3d.GeoPolygonFactory;+import org.apache.lucene.geo3d.GeoShape;+import org.apache.lucene.geo3d.PlanetModel;import org.junit.Test;import static com.spatial4j.core.distance.DistanceUtils.DEGREES_TO_RADIANS;diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java b/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.javaindex f4996bc30d9..377ad066e53 100644--- a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java+++ b/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java@@ -26,15 +26,15 @@ import com.spatial4j.core.context.SpatialContext;import com.spatial4j.core.distance.DistanceUtils;import com.spatial4j.core.shape.Circle;import com.spatial4j.core.shape.Point;-import org.apache.lucene.spatial.spatial4j.geo3d.Bounds;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoBBox;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoBBoxFactory;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoCircle;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoPath;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoPoint;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoPolygonFactory;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoShape;-import org.apache.lucene.spatial.spatial4j.geo3d.PlanetModel;+import org.apache.lucene.geo3d.Bounds;+import org.apache.lucene.geo3d.GeoBBox;+import org.apache.lucene.geo3d.GeoBBoxFactory;+import org.apache.lucene.geo3d.GeoCircle;+import org.apache.lucene.geo3d.GeoPath;+import org.apache.lucene.geo3d.GeoPoint;+import org.apache.lucene.geo3d.GeoPolygonFactory;+import org.apache.lucene.geo3d.GeoShape;+import org.apache.lucene.geo3d.PlanetModel;import org.junit.Rule;import org.junit.Test;diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeSphereModelRectRelationTest.java b/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeSphereModelRectRelationTest.javaindex 5e2ca7d6664..5df5c52fec4 100644--- a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeSphereModelRectRelationTest.java+++ b/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeSphereModelRectRelationTest.java@@ -21,14 +21,14 @@ import java.util.ArrayList;import java.util.List;import com.spatial4j.core.shape.Rectangle;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoArea;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoBBox;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoBBoxFactory;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoCircle;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoPoint;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoPolygonFactory;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoShape;-import org.apache.lucene.spatial.spatial4j.geo3d.PlanetModel;+import org.apache.lucene.geo3d.GeoArea;+import org.apache.lucene.geo3d.GeoBBox;+import org.apache.lucene.geo3d.GeoBBoxFactory;+import org.apache.lucene.geo3d.GeoCircle;+import org.apache.lucene.geo3d.GeoPoint;+import org.apache.lucene.geo3d.GeoPolygonFactory;+import org.apache.lucene.geo3d.GeoShape;+import org.apache.lucene.geo3d.PlanetModel;import org.junit.Test;public class Geo3dShapeSphereModelRectRelationTest extends Geo3dShapeRectRelationTestCase {diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java b/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.javaindex b26f1623de6..1821a8b7b76 100644--- a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java+++ b/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java@@ -17,13 +17,13 @@ package org.apache.lucene.spatial.spatial4j;* limitations under the License.*/-import org.apache.lucene.spatial.spatial4j.geo3d.GeoArea;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoBBox;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoBBoxFactory;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoCircle;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoPath;-import org.apache.lucene.spatial.spatial4j.geo3d.GeoPoint;-import org.apache.lucene.spatial.spatial4j.geo3d.PlanetModel;+import org.apache.lucene.geo3d.GeoArea;+import org.apache.lucene.geo3d.GeoBBox;+import org.apache.lucene.geo3d.GeoBBoxFactory;+import org.apache.lucene.geo3d.GeoCircle;+import org.apache.lucene.geo3d.GeoPath;+import org.apache.lucene.geo3d.GeoPoint;+import org.apache.lucene.geo3d.PlanetModel;import org.junit.Test;public class Geo3dShapeWGS84ModelRectRelationTest extends Geo3dShapeRectRelationTestCase {diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoPointTest.java b/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoPointTest.javaindex 8e74f928cd8..0fcb55c3f31 100644--- a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoPointTest.java+++ b/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoPointTest.java@@ -17,10 +17,13 @@ package org.apache.lucene.spatial.spatial4j.geo3d;* limitations under the License.*/-import com.spatial4j.core.distance.DistanceUtils;+import org.apache.lucene.geo3d.GeoPoint;+import org.apache.lucene.geo3d.PlanetModel;import org.apache.lucene.util.LuceneTestCase;import org.junit.Test;+import com.spatial4j.core.distance.DistanceUtils;+import static com.carrotsearch.randomizedtesting.RandomizedTest.randomFloat;/**diff --git a/lucene/spatial3d/build.xml b/lucene/spatial3d/build.xmlnew file mode 100644index 00000000000..fbe9e0685f7--- /dev/null+++ b/lucene/spatial3d/build.xml@@ -0,0 +1,30 @@+<?xml version="1.0"?>+<!--+ Licensed to the Apache Software Foundation (ASF) under one+ or more contributor license agreements. See the NOTICE file+ distributed with this work for additional information+ regarding copyright ownership. The ASF licenses this file+ to you under the Apache License, Version 2.0 (the+ "License"); you may not use this file except in compliance+ with the License. You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing,+ software distributed under the License is distributed on an+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+ KIND, either express or implied. See the License for the+ specific language governing permissions and limitations+ under the License.+-->+<project name="spatial3d" default="default">+ <description>+ 3D spatial planar geometry APIs+ </description>++ <import file="../module-build.xml"/>++ <path id="classpath">+ <path refid="base.classpath"/>+ </path>+</project>diff --git a/lucene/spatial3d/ivy.xml b/lucene/spatial3d/ivy.xmlnew file mode 100644index 00000000000..e9d2ee74627--- /dev/null+++ b/lucene/spatial3d/ivy.xml@@ -0,0 +1,21 @@+<!--+ Licensed to the Apache Software Foundation (ASF) under one+ or more contributor license agreements. See the NOTICE file+ distributed with this work for additional information+ regarding copyright ownership. The ASF licenses this file+ to you under the Apache License, Version 2.0 (the+ "License"); you may not use this file except in compliance+ with the License. You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing,+ software distributed under the License is distributed on an+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+ KIND, either express or implied. See the License for the+ specific language governing permissions and limitations+ under the License.+-->+<ivy-module version="2.0">+ <info organisation="org.apache.lucene" module="spatial3d"/>+</ivy-module>diff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/ArcDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/ArcDistance.javasimilarity index 97%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/ArcDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/ArcDistance.javaindex c056150f4bb..8649b5fe80a 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/ArcDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/ArcDistance.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/BasePlanetObject.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/BasePlanetObject.javasimilarity index 96%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/BasePlanetObject.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/BasePlanetObject.javaindex 39255c8f5aa..13ca8daaa1a 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/BasePlanetObject.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/BasePlanetObject.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Bounds.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Bounds.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Bounds.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/Bounds.javaindex 82ba62c442e..d4303b05d0b 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Bounds.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Bounds.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/DistanceStyle.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/DistanceStyle.javasimilarity index 98%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/DistanceStyle.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/DistanceStyle.javaindex 7d11c3880fb..330a3939417 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/DistanceStyle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/DistanceStyle.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoArea.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoArea.javasimilarity index 97%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoArea.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoArea.javaindex 0fef21beaca..566ece47ab4 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoArea.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoArea.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoAreaFactory.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoAreaFactory.javasimilarity index 92%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoAreaFactory.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoAreaFactory.javaindex c273e9e3649..d7a45113e62 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoAreaFactory.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoAreaFactory.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or more@@ -18,7 +18,7 @@ package org.apache.lucene.spatial.spatial4j.geo3d;*//**- * Factory for {@link org.apache.lucene.spatial.spatial4j.geo3d.GeoArea}.+ * Factory for {@link org.apache.lucene.geo3d.GeoArea}.** @lucene.experimental*/diff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBBox.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBBox.javasimilarity index 96%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBBox.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBBox.javaindex 37b47ae1496..bf2b2137513 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBBox.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBBox.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBBoxFactory.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBBoxFactory.javasimilarity index 97%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBBoxFactory.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBBoxFactory.javaindex 863aca57d1b..e0432df74a5 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBBoxFactory.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBBoxFactory.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or more@@ -18,7 +18,7 @@ package org.apache.lucene.spatial.spatial4j.geo3d;*//**- * Factory for {@link org.apache.lucene.spatial.spatial4j.geo3d.GeoBBox}.+ * Factory for {@link org.apache.lucene.geo3d.GeoBBox}.** @lucene.experimental*/diff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBaseBBox.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseBBox.javasimilarity index 97%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBaseBBox.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseBBox.javaindex 48183bad601..b2a133ed361 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBaseBBox.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseBBox.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBaseDistanceShape.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseDistanceShape.javasimilarity index 97%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBaseDistanceShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseDistanceShape.javaindex ffdf53853b3..7b0a3b727d0 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBaseDistanceShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseDistanceShape.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBaseMembershipShape.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseMembershipShape.javasimilarity index 97%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBaseMembershipShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseMembershipShape.javaindex 941912c6ce3..ba8536e418a 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBaseMembershipShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseMembershipShape.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBaseShape.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseShape.javasimilarity index 96%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBaseShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseShape.javaindex dac5c44df39..e0a35d42fee 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoBaseShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseShape.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoCircle.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCircle.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoCircle.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCircle.javaindex 64ff34fb37a..0b914af9ee0 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoCircle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCircle.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoCompositeMembershipShape.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCompositeMembershipShape.javasimilarity index 98%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoCompositeMembershipShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCompositeMembershipShape.javaindex a128cb5715e..bf5c58d3d6b 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoCompositeMembershipShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCompositeMembershipShape.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoConvexPolygon.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoConvexPolygon.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoConvexPolygon.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoConvexPolygon.javaindex f5c7cebf0dd..d69ff32bab6 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoConvexPolygon.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoConvexPolygon.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegenerateHorizontalLine.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateHorizontalLine.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegenerateHorizontalLine.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateHorizontalLine.javaindex 94dc38a2acc..fa03aa54df7 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegenerateHorizontalLine.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateHorizontalLine.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegenerateLatitudeZone.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateLatitudeZone.javasimilarity index 98%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegenerateLatitudeZone.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateLatitudeZone.javaindex 3761f9aa7a3..539b9acdcf4 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegenerateLatitudeZone.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateLatitudeZone.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegenerateLongitudeSlice.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateLongitudeSlice.javasimilarity index 98%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegenerateLongitudeSlice.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateLongitudeSlice.javaindex 79d33dd81a2..8f726592b40 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegenerateLongitudeSlice.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateLongitudeSlice.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegeneratePoint.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegeneratePoint.javasimilarity index 98%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegeneratePoint.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegeneratePoint.javaindex 355b0f4eca1..528ff891069 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegeneratePoint.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegeneratePoint.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegenerateVerticalLine.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateVerticalLine.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegenerateVerticalLine.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateVerticalLine.javaindex b5b35d54959..11f7182ea69 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDegenerateVerticalLine.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateVerticalLine.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDistance.javasimilarity index 98%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDistance.javaindex 4dc69911af2..87d1d54756a 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDistance.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDistanceShape.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDistanceShape.javasimilarity index 95%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDistanceShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDistanceShape.javaindex 003dc3b7b96..253afce94f4 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoDistanceShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDistanceShape.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoLatitudeZone.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoLatitudeZone.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoLatitudeZone.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoLatitudeZone.javaindex 2703134650b..83ee559e899 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoLatitudeZone.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoLatitudeZone.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoLongitudeSlice.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoLongitudeSlice.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoLongitudeSlice.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoLongitudeSlice.javaindex 358d25668e4..cff754c3d8a 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoLongitudeSlice.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoLongitudeSlice.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoMembershipShape.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoMembershipShape.javasimilarity index 95%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoMembershipShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoMembershipShape.javaindex 3c3f64d3f7a..0b5b090cc91 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoMembershipShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoMembershipShape.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoNorthLatitudeZone.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoNorthLatitudeZone.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoNorthLatitudeZone.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoNorthLatitudeZone.javaindex c7145574e87..2cb576e2811 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoNorthLatitudeZone.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoNorthLatitudeZone.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoNorthRectangle.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoNorthRectangle.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoNorthRectangle.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoNorthRectangle.javaindex ea7edf3f162..fcb764c5863 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoNorthRectangle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoNorthRectangle.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoOutsideDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoOutsideDistance.javasimilarity index 97%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoOutsideDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoOutsideDistance.javaindex c3a345b8b09..79630b7bee9 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoOutsideDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoOutsideDistance.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoPath.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPath.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoPath.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPath.javaindex 7a002785a42..d9977ceb96c 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoPath.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPath.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoPoint.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPoint.javasimilarity index 97%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoPoint.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPoint.javaindex 6194a5f312e..bdfb2ea7ffa 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoPoint.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPoint.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or more@@ -116,7 +116,7 @@ public class GeoPoint extends Vector {/** Compute an arc distance between two points.* Note: this is an angular distance, and not a surface distance, and is therefore independent of planet model.- * For surface distance, see {@link org.apache.lucene.spatial.spatial4j.geo3d.PlanetModel#surfaceDistance(GeoPoint, GeoPoint)}+ * For surface distance, see {@link org.apache.lucene.geo3d.PlanetModel#surfaceDistance(GeoPoint, GeoPoint)}* @param v is the second point.* @return the angle, in radians, between the two points.*/diff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoPolygonFactory.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPolygonFactory.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoPolygonFactory.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPolygonFactory.javaindex 0f1b48c990b..2e6f49fffb2 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoPolygonFactory.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPolygonFactory.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoRectangle.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoRectangle.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoRectangle.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoRectangle.javaindex 2555eca1992..4beb8e84829 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoRectangle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoRectangle.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoShape.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoShape.javasimilarity index 98%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoShape.javaindex cb6968bb007..e246e230b41 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoShape.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoSizeable.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSizeable.javasimilarity index 96%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoSizeable.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSizeable.javaindex 4c57b8037a3..b9aba9b127c 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoSizeable.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSizeable.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoSouthLatitudeZone.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSouthLatitudeZone.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoSouthLatitudeZone.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSouthLatitudeZone.javaindex c0a9efc1cad..5248d24af0b 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoSouthLatitudeZone.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSouthLatitudeZone.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoSouthRectangle.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSouthRectangle.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoSouthRectangle.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSouthRectangle.javaindex 592801453fa..39cd47cb153 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoSouthRectangle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSouthRectangle.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideDegenerateHorizontalLine.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideDegenerateHorizontalLine.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideDegenerateHorizontalLine.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideDegenerateHorizontalLine.javaindex 05b307482e9..d69711724d1 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideDegenerateHorizontalLine.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideDegenerateHorizontalLine.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideLongitudeSlice.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideLongitudeSlice.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideLongitudeSlice.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideLongitudeSlice.javaindex ddcd3bf329f..a7f98d246c1 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideLongitudeSlice.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideLongitudeSlice.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideNorthRectangle.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideNorthRectangle.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideNorthRectangle.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideNorthRectangle.javaindex 842e32d9813..8596d7241ff 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideNorthRectangle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideNorthRectangle.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideRectangle.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideRectangle.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideRectangle.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideRectangle.javaindex 66735f16623..424d6cd6d47 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideRectangle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideRectangle.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideSouthRectangle.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideSouthRectangle.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideSouthRectangle.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideSouthRectangle.javaindex 3899afd3db8..d950e72098d 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWideSouthRectangle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideSouthRectangle.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWorld.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWorld.javasimilarity index 98%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWorld.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWorld.javaindex 1e9e0ded3f3..ab4a2f0eb7c 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/GeoWorld.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWorld.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/LinearDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/LinearDistance.javasimilarity index 97%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/LinearDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/LinearDistance.javaindex 7184f20a4a9..ca20da62bc0 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/LinearDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/LinearDistance.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/LinearSquaredDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/LinearSquaredDistance.javasimilarity index 97%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/LinearSquaredDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/LinearSquaredDistance.javaindex accc0703930..eb750f0d976 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/LinearSquaredDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/LinearSquaredDistance.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Membership.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Membership.javasimilarity index 96%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Membership.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/Membership.javaindex 6233b364bcc..e41d96c4494 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Membership.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Membership.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/NormalDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/NormalDistance.javasimilarity index 97%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/NormalDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/NormalDistance.javaindex 90b1e3c8668..a4c61ff956b 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/NormalDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/NormalDistance.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/NormalSquaredDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/NormalSquaredDistance.javasimilarity index 97%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/NormalSquaredDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/NormalSquaredDistance.javaindex be3ded2f648..2a0578d43b0 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/NormalSquaredDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/NormalSquaredDistance.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Plane.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Plane.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Plane.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/Plane.javaindex 27c4c9283c7..5c6a3669328 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Plane.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Plane.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/PlanetModel.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/PlanetModel.javasimilarity index 97%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/PlanetModel.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/PlanetModel.javaindex bed01f6a5f4..4a9a4820c65 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/PlanetModel.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/PlanetModel.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or more@@ -82,7 +82,7 @@ public class PlanetModel {* @param p1 is the first point.* @param p2 is the second point.* @return the adjusted angle, when multiplied by the mean earth radius, yields a surface distance. This will differ- * from GeoPoint.arcDistance() only when the planet model is not a sphere. @see {@link org.apache.lucene.spatial.spatial4j.geo3d.GeoPoint#arcDistance(GeoPoint)}+ * from GeoPoint.arcDistance() only when the planet model is not a sphere. @see {@link org.apache.lucene.geo3d.GeoPoint#arcDistance(GeoPoint)}*/public double surfaceDistance(final GeoPoint p1, final GeoPoint p2) {final double latA = p1.getLatitude();diff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/SidedPlane.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/SidedPlane.javasimilarity index 98%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/SidedPlane.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/SidedPlane.javaindex ee421ce04c4..f12434d655b 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/SidedPlane.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/SidedPlane.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Tools.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Tools.javasimilarity index 96%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Tools.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/Tools.javaindex 5e33b28ecc3..e2000fa8ad2 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Tools.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Tools.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or more@@ -39,4 +39,4 @@ public class Tools {return Math.acos(value);}-}\ No newline at end of file+}diff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Vector.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Vector.javasimilarity index 99%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Vector.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/Vector.javaindex 86714b37752..9d4b30b2384 100755--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/Vector.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Vector.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/package-info.java b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/package-info.javasimilarity index 94%rename from lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/package-info.javarename to lucene/spatial3d/src/java/org/apache/lucene/geo3d/package-info.javaindex 2bdf3c3902a..2b6af740b51 100644--- a/lucene/spatial/src/java/org/apache/lucene/spatial/spatial4j/geo3d/package-info.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/geo3d/package-info.java@@ -18,4 +18,4 @@/*** Shapes implemented using 3D planar geometry.*/-package org.apache.lucene.spatial.spatial4j.geo3d;\ No newline at end of file+package org.apache.lucene.geo3d;diff --git a/lucene/spatial3d/src/java/overview.html b/lucene/spatial3d/src/java/overview.htmlnew file mode 100644index 00000000000..152d06e6110--- /dev/null+++ b/lucene/spatial3d/src/java/overview.html@@ -0,0 +1,29 @@+<!--+ Licensed to the Apache Software Foundation (ASF) under one or more+ contributor license agreements. See the NOTICE file distributed with+ this work for additional information regarding copyright ownership.+ The ASF licenses this file to You under the Apache License, Version 2.0+ (the "License"); you may not use this file except in compliance with+ the License. You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.+-->+<html>+ <head>+ <title>Apache Lucene Spatial3D Module</title>+ </head>+ <body>++ <h1>The Spatial3D Module for Apache Lucene</h1>++ <p>+ APIs for planar spatial3d math.+ </p>+ </body>+</html>diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoBBoxTest.java b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoBBoxTest.javasimilarity index 99%rename from lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoBBoxTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoBBoxTest.javaindex 0fbdf9eef3a..d5f3f79a2dc 100755--- a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoBBoxTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoBBoxTest.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoCircleTest.java b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoCircleTest.javasimilarity index 99%rename from lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoCircleTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoCircleTest.javaindex 013cf6ebaba..e4470aebc91 100755--- a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoCircleTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoCircleTest.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoConvexPolygonTest.java b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoConvexPolygonTest.javasimilarity index 98%rename from lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoConvexPolygonTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoConvexPolygonTest.javaindex 45c44fd9972..e260eee232c 100755--- a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoConvexPolygonTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoConvexPolygonTest.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoModelTest.java b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoModelTest.javasimilarity index 98%rename from lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoModelTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoModelTest.javaindex b720ac61856..9eaa4b5df1e 100644--- a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoModelTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoModelTest.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoPathTest.java b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoPathTest.javasimilarity index 99%rename from lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoPathTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoPathTest.javaindex 18593669f33..46cb7406551 100755--- a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoPathTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoPathTest.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoPolygonTest.java b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoPolygonTest.javasimilarity index 99%rename from lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoPolygonTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoPolygonTest.javaindex b44ee2bd2fd..fe89426682c 100755--- a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoPolygonTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoPolygonTest.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/PlaneTest.java b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/PlaneTest.javasimilarity index 97%rename from lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/PlaneTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/geo3d/PlaneTest.javaindex a3337373b60..b01d4059a39 100644--- a/lucene/spatial/src/test/org/apache/lucene/spatial/spatial4j/geo3d/PlaneTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/geo3d/PlaneTest.java@@ -1,4 +1,4 @@-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.geo3d;/** Licensed to the Apache Software Foundation (ASF) under one or more