Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

LUCENE-3286: Consolidated XML QP into queryparser module

Christopher John Male7f90632562f7
diff --git a/dev-tools/eclipse/dot.classpath b/dev-tools/eclipse/dot.classpath
index 426ca921d0b..8e6c3db2966 100644
--- a/dev-tools/eclipse/dot.classpath
+++ b/dev-tools/eclipse/dot.classpath
@@ -18,8 +18,6 @@
<classpathentry kind="src" path="lucene/contrib/sandbox/src/test"/>
<classpathentry kind="src" path="lucene/contrib/spatial/src/java"/>
<classpathentry kind="src" path="lucene/contrib/spatial/src/test"/>
- <classpathentry kind="src" path="lucene/contrib/xml-query-parser/src/java"/>
- <classpathentry kind="src" path="lucene/contrib/xml-query-parser/src/test"/>
<classpathentry kind="src" path="modules/analysis/common/src/java"/>
<classpathentry kind="src" path="modules/analysis/common/src/resources"/>
<classpathentry kind="src" path="modules/analysis/common/src/test"/>
diff --git a/dev-tools/idea/.idea/modules.xml b/dev-tools/idea/.idea/modules.xml
index 94dcb9871cf..7bdd26f8f97 100644
--- a/dev-tools/idea/.idea/modules.xml
+++ b/dev-tools/idea/.idea/modules.xml
@@ -11,7 +11,6 @@
<module filepath="$PROJECT_DIR$/lucene/contrib/misc/misc.iml" />
<module filepath="$PROJECT_DIR$/lucene/contrib/spatial/spatial.iml" />
<module filepath="$PROJECT_DIR$/lucene/contrib/sandbox/sandbox.iml" />
- <module filepath="$PROJECT_DIR$/lucene/contrib/xml-query-parser/xml-query-parser.iml" />
<module filepath="$PROJECT_DIR$/modules/analysis/common/analysis-common.iml" />
<module filepath="$PROJECT_DIR$/modules/analysis/icu/icu.iml" />
<module filepath="$PROJECT_DIR$/modules/analysis/morfologik/morfologik.iml" />
diff --git a/dev-tools/idea/.idea/workspace.xml b/dev-tools/idea/.idea/workspace.xml
index e181d3194ef..f43696798ac 100644
--- a/dev-tools/idea/.idea/workspace.xml
+++ b/dev-tools/idea/.idea/workspace.xml
@@ -190,14 +190,7 @@
<option name="VM_PARAMETERS" value="-ea -Dtests.luceneMatchVersion=4.0 -DtempDir=temp -Djetty.testMode=1 -Djetty.insecurerandom=1 -Dsolr.directoryFactory=org.apache.solr.core.MockDirectoryFactory" />
<option name="TEST_SEARCH_SCOPE"><value defaultName="singleModule" /></option>
</configuration>
- <configuration default="false" name="xml-query-parser contrib" type="JUnit" factoryName="JUnit">
- <module name="xml-query-parser" />
- <option name="TEST_OBJECT" value="package" />
- <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/lucene/build/contrib/xml-query-parser" />
- <option name="VM_PARAMETERS" value="-ea -DtempDir=temp" />
- <option name="TEST_SEARCH_SCOPE"><value defaultName="singleModule" /></option>
- </configuration>
- <list size="28">
+ <list size="27">
<item index="0" class="java.lang.String" itemvalue="JUnit.analysis-extras contrib" />
<item index="1" class="java.lang.String" itemvalue="JUnit.benchmark module" />
<item index="2" class="java.lang.String" itemvalue="JUnit.clustering contrib" />
@@ -225,7 +218,6 @@
<item index="24" class="java.lang.String" itemvalue="JUnit.stempel analysis module" />
<item index="25" class="java.lang.String" itemvalue="JUnit.suggest module" />
<item index="26" class="java.lang.String" itemvalue="JUnit.uima contrib" />
- <item index="27" class="java.lang.String" itemvalue="JUnit.xml-query-parser contrib" />
</list>
</component>
</project>
diff --git a/dev-tools/idea/lucene/contrib/demo/demo.iml b/dev-tools/idea/lucene/contrib/demo/demo.iml
index fab85b19be5..a1d44c55ddc 100644
--- a/dev-tools/idea/lucene/contrib/demo/demo.iml
+++ b/dev-tools/idea/lucene/contrib/demo/demo.iml
@@ -22,7 +22,6 @@
</library>
</orderEntry>
<orderEntry type="module" module-name="analysis-common" />
- <orderEntry type="module" module-name="xml-query-parser" />
<orderEntry type="module" module-name="lucene" />
<orderEntry type="module" module-name="queryparser" />
</component>
diff --git a/dev-tools/idea/lucene/contrib/xml-query-parser/xml-query-parser.iml b/dev-tools/idea/lucene/contrib/xml-query-parser/xml-query-parser.iml
deleted file mode 100644
index 5e20f9dcc54..00000000000
--- a/dev-tools/idea/lucene/contrib/xml-query-parser/xml-query-parser.iml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module type="JAVA_MODULE" version="4">
- <component name="NewModuleRootManager" inherit-compiler-output="false">
- <output url="file://$MODULE_DIR$/../../build/contrib/xml-query-parser/classes/java" />
- <output-test url="file://$MODULE_DIR$/../../build/contrib/xml-query-parser/classes/test" />
- <exclude-output />
- <content url="file://$MODULE_DIR$">
- <sourceFolder url="file://$MODULE_DIR$/src/java" isTestSource="false" />
- <sourceFolder url="file://$MODULE_DIR$/src/test" isTestSource="true" />
- </content>
- <orderEntry type="inheritedJdk" />
- <orderEntry type="sourceFolder" forTests="false" />
- <orderEntry type="library" scope="TEST" name="JUnit" level="project" />
- <orderEntry type="module" module-name="misc" />
- <orderEntry type="module" module-name="sandbox" />
- <orderEntry type="module" module-name="analysis-common" />
- <orderEntry type="module" module-name="lucene" />
- <orderEntry type="module" module-name="queryparser" />
- <orderEntry type="module" module-name="queries" />
- </component>
-</module>
diff --git a/dev-tools/idea/modules/queryparser/queryparser.iml b/dev-tools/idea/modules/queryparser/queryparser.iml
index e0fddecf1d8..d8bf0a2b99f 100644
--- a/dev-tools/idea/modules/queryparser/queryparser.iml
+++ b/dev-tools/idea/modules/queryparser/queryparser.iml
@@ -14,5 +14,7 @@
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="JUnit" level="project" />
<orderEntry type="module" module-name="lucene" />
+ <orderEntry type="module" module-name="queries" />
+ <orderEntry type="module" module-name="sandbox" />
</component>
</module>
diff --git a/dev-tools/maven/lucene/contrib/demo/pom.xml.template b/dev-tools/maven/lucene/contrib/demo/pom.xml.template
index 03ff8016d3f..92c1fdccd67 100644
--- a/dev-tools/maven/lucene/contrib/demo/pom.xml.template
+++ b/dev-tools/maven/lucene/contrib/demo/pom.xml.template
@@ -57,11 +57,6 @@
<artifactId>lucene-queryparser</artifactId>
<version>${project.version}</version>
</dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>lucene-xml-query-parser</artifactId>
- <version>${project.version}</version>
- </dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
diff --git a/dev-tools/maven/lucene/contrib/pom.xml.template b/dev-tools/maven/lucene/contrib/pom.xml.template
index c4e82c7c83d..a7b980680ec 100644
--- a/dev-tools/maven/lucene/contrib/pom.xml.template
+++ b/dev-tools/maven/lucene/contrib/pom.xml.template
@@ -38,7 +38,6 @@
<module>misc</module>
<module>sandbox</module>
<module>spatial</module>
- <module>xml-query-parser</module>
</modules>
<build>
<directory>build/lucene-contrib-aggregator</directory>
diff --git a/dev-tools/maven/lucene/contrib/xml-query-parser/pom.xml.template b/dev-tools/maven/lucene/contrib/xml-query-parser/pom.xml.template
deleted file mode 100644
index 40c64ff69a1..00000000000
--- a/dev-tools/maven/lucene/contrib/xml-query-parser/pom.xml.template
+++ /dev/null
@@ -1,86 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <!--
- 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.
- -->
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-parent</artifactId>
- <version>@version@</version>
- <relativePath>../../pom.xml</relativePath>
- </parent>
- <groupId>org.apache.lucene</groupId>
- <artifactId>lucene-xml-query-parser</artifactId>
- <packaging>jar</packaging>
- <name>Lucene XML Query Parser</name>
- <description>XML query parser</description>
- <properties>
- <module-directory>lucene/contrib/xml-query-parser</module-directory>
- <build-directory>../../build/contrib/xml-query-parser</build-directory>
- </properties>
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>lucene-core</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>lucene-test-framework</artifactId>
- <version>${project.version}</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>lucene-queries</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>lucene-sandbox</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>lucene-queryparser</artifactId>
- <version>${project.version}</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- <build>
- <directory>${build-directory}</directory>
- <outputDirectory>${build-directory}/classes/java</outputDirectory>
- <testOutputDirectory>${build-directory}/classes/test</testOutputDirectory>
- <sourceDirectory>src/java</sourceDirectory>
- <testSourceDirectory>src/test</testSourceDirectory>
- <testResources>
- <testResource>
- <directory>${project.build.testSourceDirectory}</directory>
- <excludes>
- <exclude>**/*.java</exclude>
- </excludes>
- </testResource>
- </testResources>
- </build>
-</project>
diff --git a/lucene/build.xml b/lucene/build.xml
index c38c85e60d3..e6c904a4c17 100644
--- a/lucene/build.xml
+++ b/lucene/build.xml
@@ -49,7 +49,7 @@
excludes="*-src.jar"
/>
<patternset id="binary.root.dist.patterns"
- includes="CHANGES.txt,LICENSE.txt,NOTICE.txt,README.txt,MIGRATE.txt,JRE_VERSION_MIGRATION.txt,contrib/**/README*,**/CHANGES.txt,contrib/**/*.sh contrib/**/docs/ contrib/xml-query-parser/*.dtd,lib/*.jar,lib/*LICENSE*.txt,lib/*NOTICE*.txt,contrib/*/lib/*.jar,contrib/*/lib/*LICENSE*.txt,contrib/*/lib/*NOTICE*.txt"
+ includes="CHANGES.txt,LICENSE.txt,NOTICE.txt,README.txt,MIGRATE.txt,JRE_VERSION_MIGRATION.txt,contrib/**/README*,**/CHANGES.txt,contrib/**/*.sh contrib/**/docs/,lib/*.jar,lib/*LICENSE*.txt,lib/*NOTICE*.txt,contrib/*/lib/*.jar,contrib/*/lib/*LICENSE*.txt,contrib/*/lib/*NOTICE*.txt"
/>
@@ -257,7 +257,6 @@
<packageset dir="contrib/misc/src/java"/>
<packageset dir="contrib/sandbox/src/java"/>
<packageset dir="contrib/spatial/src/java"/>
- <packageset dir="contrib/xml-query-parser/src/java"/>
<!-- end alpha sort -->
<!-- If the main javadoc Group listing includes an "Other -->
@@ -274,7 +273,6 @@
<group title="contrib: Misc " packages="org.apache.lucene.misc*"/>
<group title="contrib: Sandbox" packages="org.apache.lucene.sandbox*"/>
<group title="contrib: Spatial" packages="org.apache.lucene.spatial*"/>
- <group title="contrib: XML Query Parser" packages="org.apache.lucene.xmlparser*"/>
</sources>
</invoke-javadoc>
diff --git a/lucene/contrib/CHANGES.txt b/lucene/contrib/CHANGES.txt
index 3ee55548ffc..d820c19448d 100644
--- a/lucene/contrib/CHANGES.txt
+++ b/lucene/contrib/CHANGES.txt
@@ -30,6 +30,9 @@ Build
FuzzyLikeThisQuery and SlowCollated* into contrib/sandbox.
Removed contrib/queries.
+ * LUCENE-3286: Moved remainder of contrib/xml-query-parser to module/queryparser.
+ Classes now found at org.apache.lucene.queryparser.xml.*
+
New Features
* LUCENE-2604: Added RegexpQuery support to contrib/queryparser.
diff --git a/lucene/contrib/contrib-build.xml b/lucene/contrib/contrib-build.xml
index 83b03fa0fd5..7e6c062977d 100644
--- a/lucene/contrib/contrib-build.xml
+++ b/lucene/contrib/contrib-build.xml
@@ -283,15 +283,4 @@
</ant>
<property name="suggest.uptodate" value="true"/>
</target>
-
- <property name="xml-query-parser.jar" value="${common.dir}/build/contrib/xml-query-parser/lucene-xml-query-parser-${version}.jar"/>
- <target name="check-xml-query-parser-uptodate" unless="xml-query-parser.uptodate">
- <contrib-uptodate name="xml-query-parser" jarfile="${xml-query-parser.jar}" property="xml-query-parser.uptodate"/>
- </target>
- <target name="jar-xml-query-parser" unless="xml-query-parser.uptodate" depends="check-xml-query-parser-uptodate">
- <ant dir="${common.dir}/contrib/xml-query-parser" target="jar-core" inheritall="false">
- <propertyset refid="uptodate.and.compiled.properties"/>
- </ant>
- <property name="xml-query-parser.uptodate" value="true"/>
- </target>
</project>
diff --git a/lucene/contrib/demo/build.xml b/lucene/contrib/demo/build.xml
index 9a06ed9b0da..f3625f2f766 100644
--- a/lucene/contrib/demo/build.xml
+++ b/lucene/contrib/demo/build.xml
@@ -33,11 +33,10 @@
<pathelement path="${analyzers-common.jar}"/>
<pathelement path="${queryparser.jar}"/>
<pathelement path="${lucene-core.jar}"/>
- <pathelement path="${xml-query-parser.jar}"/>
<pathelement location="lib/servlet-api-2.4.jar"/>
</path>
- <target name="compile-core" depends="jar-analyzers-common,jar-queryparser,jar-xml-query-parser,common.compile-core" />
+ <target name="compile-core" depends="jar-analyzers-common,jar-queryparser,common.compile-core" />
<target name="default" depends="jar-core,build-web-demo"/>
@@ -52,6 +51,7 @@
<include name="${final.name}.jar"/>
</lib>
<lib file="${queries.jar}"/>
+ <lib file="${queryparser.jar}"/>
<lib file="${lucene-core.jar}"/>
</war>
</target>
diff --git a/lucene/contrib/demo/src/java/org/apache/lucene/demo/xmlparser/FormBasedXmlQueryDemo.java b/lucene/contrib/demo/src/java/org/apache/lucene/demo/xmlparser/FormBasedXmlQueryDemo.java
index ecd64f2feb5..5f1bb702bca 100644
--- a/lucene/contrib/demo/src/java/org/apache/lucene/demo/xmlparser/FormBasedXmlQueryDemo.java
+++ b/lucene/contrib/demo/src/java/org/apache/lucene/demo/xmlparser/FormBasedXmlQueryDemo.java
@@ -40,14 +40,14 @@ import org.apache.lucene.document.TextField;
import org.apache.lucene.index.CorruptIndexException;
import org.apache.lucene.index.IndexWriter;
import org.apache.lucene.index.IndexWriterConfig;
+import org.apache.lucene.queryparser.xml.CorePlusExtensionsParser;
+import org.apache.lucene.queryparser.xml.QueryTemplateManager;
import org.apache.lucene.search.IndexSearcher;
import org.apache.lucene.search.Query;
import org.apache.lucene.search.ScoreDoc;
import org.apache.lucene.search.TopDocs;
import org.apache.lucene.store.RAMDirectory;
import org.apache.lucene.util.Version;
-import org.apache.lucene.xmlparser.CorePlusExtensionsParser;
-import org.apache.lucene.xmlparser.QueryTemplateManager;
public class FormBasedXmlQueryDemo extends HttpServlet {
diff --git a/lucene/contrib/xml-query-parser/build.xml b/lucene/contrib/xml-query-parser/build.xml
deleted file mode 100644
index ccd67dbb88b..00000000000
--- a/lucene/contrib/xml-query-parser/build.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<?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="xml-query-parser" default="default">
-
- <description>
- XML query parser
- </description>
-
- <import file="../contrib-build.xml"/>
-
- <path id="classpath">
- <pathelement path="${queryparser.jar}"/>
- <pathelement path="${queries.jar}"/>
- <pathelement path="${sandbox.jar}"/>
- <path refid="base.classpath"/>
- </path>
-
- <target name="compile-core" depends="jar-sandbox,jar-queryparser,jar-queries,common.compile-core" />
-</project>
diff --git a/lucene/contrib/xml-query-parser/src/java/overview.html b/lucene/contrib/xml-query-parser/src/java/overview.html
deleted file mode 100644
index c1e6a898096..00000000000
--- a/lucene/contrib/xml-query-parser/src/java/overview.html
+++ /dev/null
@@ -1,26 +0,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.
--->
-<html>
- <head>
- <title>
- xml-query-parser
- </title>
- </head>
- <body>
- xml-query-parser
- </body>
-</html>
\ No newline at end of file
diff --git a/modules/queryparser/build.xml b/modules/queryparser/build.xml
index c75166905b5..4987f37fd66 100644
--- a/modules/queryparser/build.xml
+++ b/modules/queryparser/build.xml
@@ -26,6 +26,14 @@
<import file="../../lucene/contrib/contrib-build.xml"/>
+ <path id="classpath">
+ <pathelement path="${queries.jar}"/>
+ <pathelement path="${sandbox.jar}"/>
+ <path refid="base.classpath"/>
+ </path>
+
+ <target name="compile-core" depends="jar-queries,jar-sandbox,common.compile-core"/>
+
<target name="dist-maven" depends="jar-core,javadocs,contrib-build.dist-maven"/>
<target name="javacc" depends="init,javacc-check,javacc-QueryParser,javacc-surround,javacc-flexible"/>
diff --git a/lucene/contrib/xml-query-parser/docs/DTDDocStyle.css b/modules/queryparser/docs/xml/DTDDocStyle.css
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/DTDDocStyle.css
rename to modules/queryparser/docs/xml/DTDDocStyle.css
diff --git a/lucene/contrib/xml-query-parser/docs/LuceneContribQuery.dtd.entities.html b/modules/queryparser/docs/xml/LuceneContribQuery.dtd.entities.html
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/LuceneContribQuery.dtd.entities.html
rename to modules/queryparser/docs/xml/LuceneContribQuery.dtd.entities.html
diff --git a/lucene/contrib/xml-query-parser/docs/LuceneContribQuery.dtd.html b/modules/queryparser/docs/xml/LuceneContribQuery.dtd.html
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/LuceneContribQuery.dtd.html
rename to modules/queryparser/docs/xml/LuceneContribQuery.dtd.html
diff --git a/lucene/contrib/xml-query-parser/docs/LuceneContribQuery.dtd.org.html b/modules/queryparser/docs/xml/LuceneContribQuery.dtd.org.html
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/LuceneContribQuery.dtd.org.html
rename to modules/queryparser/docs/xml/LuceneContribQuery.dtd.org.html
diff --git a/lucene/contrib/xml-query-parser/docs/LuceneCoreQuery.dtd.entities.html b/modules/queryparser/docs/xml/LuceneCoreQuery.dtd.entities.html
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/LuceneCoreQuery.dtd.entities.html
rename to modules/queryparser/docs/xml/LuceneCoreQuery.dtd.entities.html
diff --git a/lucene/contrib/xml-query-parser/docs/LuceneCoreQuery.dtd.html b/modules/queryparser/docs/xml/LuceneCoreQuery.dtd.html
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/LuceneCoreQuery.dtd.html
rename to modules/queryparser/docs/xml/LuceneCoreQuery.dtd.html
diff --git a/lucene/contrib/xml-query-parser/docs/LuceneCoreQuery.dtd.org.html b/modules/queryparser/docs/xml/LuceneCoreQuery.dtd.org.html
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/LuceneCoreQuery.dtd.org.html
rename to modules/queryparser/docs/xml/LuceneCoreQuery.dtd.org.html
diff --git a/lucene/contrib/xml-query-parser/README.htm b/modules/queryparser/docs/xml/README.htm
similarity index 100%
rename from lucene/contrib/xml-query-parser/README.htm
rename to modules/queryparser/docs/xml/README.htm
diff --git a/lucene/contrib/xml-query-parser/docs/cctree.js b/modules/queryparser/docs/xml/cctree.js
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/cctree.js
rename to modules/queryparser/docs/xml/cctree.js
diff --git a/lucene/contrib/xml-query-parser/docs/dtreeStyle.css b/modules/queryparser/docs/xml/dtreeStyle.css
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/dtreeStyle.css
rename to modules/queryparser/docs/xml/dtreeStyle.css
diff --git a/lucene/contrib/xml-query-parser/docs/elementsIndex.html b/modules/queryparser/docs/xml/elementsIndex.html
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/elementsIndex.html
rename to modules/queryparser/docs/xml/elementsIndex.html
diff --git a/lucene/contrib/xml-query-parser/docs/img/empty.gif b/modules/queryparser/docs/xml/img/empty.gif
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/img/empty.gif
rename to modules/queryparser/docs/xml/img/empty.gif
diff --git a/lucene/contrib/xml-query-parser/docs/img/join.gif b/modules/queryparser/docs/xml/img/join.gif
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/img/join.gif
rename to modules/queryparser/docs/xml/img/join.gif
diff --git a/lucene/contrib/xml-query-parser/docs/img/joinbottom.gif b/modules/queryparser/docs/xml/img/joinbottom.gif
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/img/joinbottom.gif
rename to modules/queryparser/docs/xml/img/joinbottom.gif
diff --git a/lucene/contrib/xml-query-parser/docs/img/line.gif b/modules/queryparser/docs/xml/img/line.gif
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/img/line.gif
rename to modules/queryparser/docs/xml/img/line.gif
diff --git a/lucene/contrib/xml-query-parser/docs/img/minus.gif b/modules/queryparser/docs/xml/img/minus.gif
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/img/minus.gif
rename to modules/queryparser/docs/xml/img/minus.gif
diff --git a/lucene/contrib/xml-query-parser/docs/img/minusbottom.gif b/modules/queryparser/docs/xml/img/minusbottom.gif
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/img/minusbottom.gif
rename to modules/queryparser/docs/xml/img/minusbottom.gif
diff --git a/lucene/contrib/xml-query-parser/docs/img/plus.gif b/modules/queryparser/docs/xml/img/plus.gif
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/img/plus.gif
rename to modules/queryparser/docs/xml/img/plus.gif
diff --git a/lucene/contrib/xml-query-parser/docs/img/plusbottom.gif b/modules/queryparser/docs/xml/img/plusbottom.gif
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/img/plusbottom.gif
rename to modules/queryparser/docs/xml/img/plusbottom.gif
diff --git a/lucene/contrib/xml-query-parser/docs/index.html b/modules/queryparser/docs/xml/index.html
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/index.html
rename to modules/queryparser/docs/xml/index.html
diff --git a/lucene/contrib/xml-query-parser/docs/intro.html b/modules/queryparser/docs/xml/intro.html
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/intro.html
rename to modules/queryparser/docs/xml/intro.html
diff --git a/lucene/contrib/xml-query-parser/docs/toc.html b/modules/queryparser/docs/xml/toc.html
similarity index 100%
rename from lucene/contrib/xml-query-parser/docs/toc.html
rename to modules/queryparser/docs/xml/toc.html
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CoreParser.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/CoreParser.java
similarity index 98%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CoreParser.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/CoreParser.java
index bcaf80f3c42..3b19f870b53 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CoreParser.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/CoreParser.java
@@ -1,9 +1,9 @@
-package org.apache.lucene.xmlparser;
+package org.apache.lucene.queryparser.xml;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.queryparser.classic.QueryParser;
+import org.apache.lucene.queryparser.xml.builders.*;
import org.apache.lucene.search.Query;
-import org.apache.lucene.xmlparser.builders.*;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CorePlusExtensionsParser.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/CorePlusExtensionsParser.java
similarity index 96%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CorePlusExtensionsParser.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/CorePlusExtensionsParser.java
index adead89ddc9..0676b55f7e7 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/CorePlusExtensionsParser.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/CorePlusExtensionsParser.java
@@ -1,8 +1,9 @@
-package org.apache.lucene.xmlparser;
+package org.apache.lucene.queryparser.xml;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.queryparser.classic.QueryParser;
-import org.apache.lucene.xmlparser.builders.*;
+import org.apache.lucene.queryparser.xml.builders.*;
+
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/DOMUtils.java
similarity index 99%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/DOMUtils.java
index 3426780b58c..5b30b00a6e4 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/DOMUtils.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/DOMUtils.java
@@ -1,4 +1,4 @@
-package org.apache.lucene.xmlparser;
+package org.apache.lucene.queryparser.xml;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/FilterBuilder.java
similarity index 95%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/FilterBuilder.java
index 062796c40cd..691cfe5e85c 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/FilterBuilder.java
@@ -1,7 +1,7 @@
/*
* Created on 25-Jan-2006
*/
-package org.apache.lucene.xmlparser;
+package org.apache.lucene.queryparser.xml;
import org.apache.lucene.search.Filter;
import org.w3c.dom.Element;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilderFactory.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/FilterBuilderFactory.java
similarity index 97%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilderFactory.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/FilterBuilderFactory.java
index 66f6f2421ab..30677d109ba 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/FilterBuilderFactory.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/FilterBuilderFactory.java
@@ -1,7 +1,7 @@
/*
* Created on 25-Jan-2006
*/
-package org.apache.lucene.xmlparser;
+package org.apache.lucene.queryparser.xml;
import org.apache.lucene.search.Filter;
import org.w3c.dom.Element;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ParserException.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/ParserException.java
similarity index 96%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ParserException.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/ParserException.java
index eb3e624974f..8ef33c7baaf 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ParserException.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/ParserException.java
@@ -1,7 +1,7 @@
/*
* Created on 25-Jan-2006
*/
-package org.apache.lucene.xmlparser;
+package org.apache.lucene.queryparser.xml;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/QueryBuilder.java
similarity index 96%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/QueryBuilder.java
index 23930e4f78a..9008265df9f 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/QueryBuilder.java
@@ -1,4 +1,4 @@
-package org.apache.lucene.xmlparser;
+package org.apache.lucene.queryparser.xml;
import org.apache.lucene.search.Query;
import org.w3c.dom.Element;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilderFactory.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/QueryBuilderFactory.java
similarity index 97%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilderFactory.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/QueryBuilderFactory.java
index ad5a0459829..0fab70885fb 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryBuilderFactory.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/QueryBuilderFactory.java
@@ -1,7 +1,7 @@
/*
* Created on 25-Jan-2006
*/
-package org.apache.lucene.xmlparser;
+package org.apache.lucene.queryparser.xml;
import org.apache.lucene.search.Query;
import org.w3c.dom.Element;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryTemplateManager.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/QueryTemplateManager.java
similarity index 99%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryTemplateManager.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/QueryTemplateManager.java
index ed2bab044a6..12525ff9950 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryTemplateManager.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/QueryTemplateManager.java
@@ -1,4 +1,4 @@
-package org.apache.lucene.xmlparser;
+package org.apache.lucene.queryparser.xml;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanFilterBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/BooleanFilterBuilder.java
similarity index 89%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanFilterBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/BooleanFilterBuilder.java
index 334d2e158d1..36f153a8180 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanFilterBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/BooleanFilterBuilder.java
@@ -1,15 +1,15 @@
/*
* Created on 25-Jan-2006
*/
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.search.BooleanClause;
import org.apache.lucene.queries.BooleanFilter;
import org.apache.lucene.search.Filter;
import org.apache.lucene.queries.FilterClause;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.FilterBuilder;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.FilterBuilder;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanQueryBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/BooleanQueryBuilder.java
similarity index 93%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanQueryBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/BooleanQueryBuilder.java
index 54f949e99e3..53f64a79214 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanQueryBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/BooleanQueryBuilder.java
@@ -1,14 +1,14 @@
/*
* Created on 25-Jan-2006
*/
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.search.BooleanClause;
import org.apache.lucene.search.BooleanQuery;
import org.apache.lucene.search.Query;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
-import org.apache.lucene.xmlparser.QueryBuilder;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
+import org.apache.lucene.queryparser.xml.QueryBuilder;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BoostingQueryBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/BoostingQueryBuilder.java
similarity index 89%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BoostingQueryBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/BoostingQueryBuilder.java
index e6993f67c06..6d4725c9344 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BoostingQueryBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/BoostingQueryBuilder.java
@@ -1,10 +1,10 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.queries.BoostingQuery;
import org.apache.lucene.search.Query;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
-import org.apache.lucene.xmlparser.QueryBuilder;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
+import org.apache.lucene.queryparser.xml.QueryBuilder;
import org.w3c.dom.Element;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BoostingTermBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/BoostingTermBuilder.java
similarity index 90%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BoostingTermBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/BoostingTermBuilder.java
index 1860839f14c..d5ebee9501c 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BoostingTermBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/BoostingTermBuilder.java
@@ -1,11 +1,11 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.index.Term;
import org.apache.lucene.search.payloads.AveragePayloadFunction;
import org.apache.lucene.search.payloads.PayloadTermQuery;
import org.apache.lucene.search.spans.SpanQuery;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
/**
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/CachedFilterBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/CachedFilterBuilder.java
similarity index 97%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/CachedFilterBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/CachedFilterBuilder.java
index 4e12bad69bc..246138a897d 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/CachedFilterBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/CachedFilterBuilder.java
@@ -1,13 +1,13 @@
/*
* Created on 25-Jan-2006
*/
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
+import org.apache.lucene.queryparser.xml.*;
import org.apache.lucene.search.CachingWrapperFilter;
import org.apache.lucene.search.Filter;
import org.apache.lucene.search.Query;
import org.apache.lucene.search.QueryWrapperFilter;
-import org.apache.lucene.xmlparser.*;
import org.w3c.dom.Element;
import java.util.Map;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ConstantScoreQueryBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/ConstantScoreQueryBuilder.java
similarity index 83%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ConstantScoreQueryBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/ConstantScoreQueryBuilder.java
index c5fff35c1b1..0a24b450d99 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ConstantScoreQueryBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/ConstantScoreQueryBuilder.java
@@ -1,11 +1,11 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.search.ConstantScoreQuery;
import org.apache.lucene.search.Query;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.FilterBuilderFactory;
-import org.apache.lucene.xmlparser.ParserException;
-import org.apache.lucene.xmlparser.QueryBuilder;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.FilterBuilderFactory;
+import org.apache.lucene.queryparser.xml.ParserException;
+import org.apache.lucene.queryparser.xml.QueryBuilder;
import org.w3c.dom.Element;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/DuplicateFilterBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/DuplicateFilterBuilder.java
similarity index 90%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/DuplicateFilterBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/DuplicateFilterBuilder.java
index 18926821462..5537511b303 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/DuplicateFilterBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/DuplicateFilterBuilder.java
@@ -1,13 +1,13 @@
/*
* Created on 25-Jan-2006
*/
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.FilterBuilder;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.apache.lucene.sandbox.queries.DuplicateFilter;
import org.apache.lucene.search.Filter;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.FilterBuilder;
-import org.apache.lucene.xmlparser.ParserException;
import org.w3c.dom.Element;
/**
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/FilteredQueryBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/FilteredQueryBuilder.java
similarity index 88%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/FilteredQueryBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/FilteredQueryBuilder.java
index 431d2c2c112..27c4d7db649 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/FilteredQueryBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/FilteredQueryBuilder.java
@@ -1,15 +1,15 @@
/*
* Created on 25-Jan-2006
*/
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.search.Filter;
import org.apache.lucene.search.FilteredQuery;
import org.apache.lucene.search.Query;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.FilterBuilder;
-import org.apache.lucene.xmlparser.ParserException;
-import org.apache.lucene.xmlparser.QueryBuilder;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.FilterBuilder;
+import org.apache.lucene.queryparser.xml.ParserException;
+import org.apache.lucene.queryparser.xml.QueryBuilder;
import org.w3c.dom.Element;
/**
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/FuzzyLikeThisQueryBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/FuzzyLikeThisQueryBuilder.java
similarity index 91%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/FuzzyLikeThisQueryBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/FuzzyLikeThisQueryBuilder.java
index 775b7306061..0e806211cd6 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/FuzzyLikeThisQueryBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/FuzzyLikeThisQueryBuilder.java
@@ -1,12 +1,12 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.analysis.Analyzer;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
+import org.apache.lucene.queryparser.xml.QueryBuilder;
import org.apache.lucene.sandbox.queries.FuzzyLikeThisQuery;
import org.apache.lucene.search.FuzzyQuery;
import org.apache.lucene.search.Query;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
-import org.apache.lucene.xmlparser.QueryBuilder;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/LikeThisQueryBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/LikeThisQueryBuilder.java
similarity index 94%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/LikeThisQueryBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/LikeThisQueryBuilder.java
index 3652fa65317..ff429e214bf 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/LikeThisQueryBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/LikeThisQueryBuilder.java
@@ -1,7 +1,7 @@
/*
* Created on 25-Jan-2006
*/
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import java.io.IOException;
import java.io.StringReader;
@@ -12,10 +12,10 @@ import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
import org.apache.lucene.queries.mlt.MoreLikeThisQuery;
+import org.apache.lucene.queryparser.xml.QueryBuilder;
import org.apache.lucene.search.Query;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
-import org.apache.lucene.xmlparser.QueryBuilder;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/MatchAllDocsQueryBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/MatchAllDocsQueryBuilder.java
similarity index 86%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/MatchAllDocsQueryBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/MatchAllDocsQueryBuilder.java
index 3ea19a9395d..42952486411 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/MatchAllDocsQueryBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/MatchAllDocsQueryBuilder.java
@@ -1,9 +1,9 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.search.MatchAllDocsQuery;
import org.apache.lucene.search.Query;
-import org.apache.lucene.xmlparser.ParserException;
-import org.apache.lucene.xmlparser.QueryBuilder;
+import org.apache.lucene.queryparser.xml.ParserException;
+import org.apache.lucene.queryparser.xml.QueryBuilder;
import org.w3c.dom.Element;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/NumericRangeFilterBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeFilterBuilder.java
similarity index 96%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/NumericRangeFilterBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeFilterBuilder.java
index af834e14a66..e368eecd099 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/NumericRangeFilterBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeFilterBuilder.java
@@ -1,4 +1,4 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
@@ -22,9 +22,9 @@ import org.apache.lucene.search.DocIdSet;
import org.apache.lucene.search.Filter;
import org.apache.lucene.search.NumericRangeFilter;
import org.apache.lucene.util.NumericUtils;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.FilterBuilder;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.FilterBuilder;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
import java.io.IOException;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/NumericRangeQueryBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeQueryBuilder.java
similarity index 95%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/NumericRangeQueryBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeQueryBuilder.java
index af58035c3b7..17a1b6c625d 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/NumericRangeQueryBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/NumericRangeQueryBuilder.java
@@ -1,4 +1,4 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
@@ -20,9 +20,9 @@ package org.apache.lucene.xmlparser.builders;
import org.apache.lucene.search.NumericRangeQuery;
import org.apache.lucene.search.Query;
import org.apache.lucene.util.NumericUtils;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
-import org.apache.lucene.xmlparser.QueryBuilder;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
+import org.apache.lucene.queryparser.xml.QueryBuilder;
import org.w3c.dom.Element;
/**
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/RangeFilterBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/RangeFilterBuilder.java
similarity index 87%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/RangeFilterBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/RangeFilterBuilder.java
index 836f0e35455..2744be67843 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/RangeFilterBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/RangeFilterBuilder.java
@@ -1,13 +1,13 @@
/*
* Created on 25-Jan-2006
*/
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.search.Filter;
import org.apache.lucene.search.TermRangeFilter;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.FilterBuilder;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.FilterBuilder;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanBuilderBase.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanBuilderBase.java
similarity index 90%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanBuilderBase.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanBuilderBase.java
index abdda3bf5da..64877095e9e 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanBuilderBase.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanBuilderBase.java
@@ -1,7 +1,7 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.search.Query;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanFirstBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanFirstBuilder.java
similarity index 90%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanFirstBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanFirstBuilder.java
index 0cabc986a6f..acd604a573a 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanFirstBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanFirstBuilder.java
@@ -1,9 +1,9 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.search.spans.SpanFirstQuery;
import org.apache.lucene.search.spans.SpanQuery;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNearBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanNearBuilder.java
similarity index 91%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNearBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanNearBuilder.java
index 58d64799f1c..6d15938b928 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNearBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanNearBuilder.java
@@ -1,9 +1,9 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.search.spans.SpanNearQuery;
import org.apache.lucene.search.spans.SpanQuery;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNotBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanNotBuilder.java
similarity index 91%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNotBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanNotBuilder.java
index 4b65042b13c..7a76c75057b 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanNotBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanNotBuilder.java
@@ -1,9 +1,9 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.search.spans.SpanNotQuery;
import org.apache.lucene.search.spans.SpanQuery;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanOrBuilder.java
similarity index 91%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanOrBuilder.java
index c246a8ca7c3..527be75a023 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanOrBuilder.java
@@ -1,9 +1,9 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.search.spans.SpanOrQuery;
import org.apache.lucene.search.spans.SpanQuery;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrTermsBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanOrTermsBuilder.java
similarity index 94%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrTermsBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanOrTermsBuilder.java
index 1f689897377..df46e9dee62 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanOrTermsBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanOrTermsBuilder.java
@@ -1,4 +1,4 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;
@@ -8,8 +8,8 @@ import org.apache.lucene.search.spans.SpanOrQuery;
import org.apache.lucene.search.spans.SpanQuery;
import org.apache.lucene.search.spans.SpanTermQuery;
import org.apache.lucene.util.BytesRef;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
import java.io.IOException;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanQueryBuilder.java
similarity index 85%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanQueryBuilder.java
index c00bbb74c79..fc27e480dae 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanQueryBuilder.java
@@ -1,4 +1,4 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -16,8 +16,8 @@ package org.apache.lucene.xmlparser.builders;
* limitations under the License.
*/
import org.apache.lucene.search.spans.SpanQuery;
-import org.apache.lucene.xmlparser.ParserException;
-import org.apache.lucene.xmlparser.QueryBuilder;
+import org.apache.lucene.queryparser.xml.ParserException;
+import org.apache.lucene.queryparser.xml.QueryBuilder;
import org.w3c.dom.Element;
public interface SpanQueryBuilder extends QueryBuilder {
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilderFactory.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanQueryBuilderFactory.java
similarity index 93%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilderFactory.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanQueryBuilderFactory.java
index 2ba1c7f06f4..b37491ff04e 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanQueryBuilderFactory.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanQueryBuilderFactory.java
@@ -1,8 +1,8 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.search.Query;
import org.apache.lucene.search.spans.SpanQuery;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
import java.util.HashMap;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanTermBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanTermBuilder.java
similarity index 89%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanTermBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanTermBuilder.java
index 48eb976a48c..b9f97af2343 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/SpanTermBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/SpanTermBuilder.java
@@ -1,10 +1,10 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.index.Term;
import org.apache.lucene.search.spans.SpanQuery;
import org.apache.lucene.search.spans.SpanTermQuery;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermQueryBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/TermQueryBuilder.java
similarity index 86%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermQueryBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/TermQueryBuilder.java
index 8c396dac816..6b9ad7355cf 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermQueryBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/TermQueryBuilder.java
@@ -1,11 +1,11 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.index.Term;
import org.apache.lucene.search.Query;
import org.apache.lucene.search.TermQuery;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
-import org.apache.lucene.xmlparser.QueryBuilder;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
+import org.apache.lucene.queryparser.xml.QueryBuilder;
import org.w3c.dom.Element;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/TermsFilterBuilder.java
similarity index 91%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/TermsFilterBuilder.java
index f1dec279c95..abffb77e919 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsFilterBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/TermsFilterBuilder.java
@@ -1,4 +1,4 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;
@@ -7,9 +7,9 @@ import org.apache.lucene.index.Term;
import org.apache.lucene.search.Filter;
import org.apache.lucene.queries.TermsFilter;
import org.apache.lucene.util.BytesRef;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.FilterBuilder;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.FilterBuilder;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Element;
import java.io.IOException;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsQueryBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/TermsQueryBuilder.java
similarity index 92%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsQueryBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/TermsQueryBuilder.java
index e0f71a68286..a550090e2ee 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/TermsQueryBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/TermsQueryBuilder.java
@@ -1,4 +1,4 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.TokenStream;
@@ -9,9 +9,9 @@ import org.apache.lucene.search.BooleanQuery;
import org.apache.lucene.search.Query;
import org.apache.lucene.search.TermQuery;
import org.apache.lucene.util.BytesRef;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
-import org.apache.lucene.xmlparser.QueryBuilder;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
+import org.apache.lucene.queryparser.xml.QueryBuilder;
import org.w3c.dom.Element;
import java.io.IOException;
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/UserInputQueryBuilder.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/UserInputQueryBuilder.java
similarity index 93%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/UserInputQueryBuilder.java
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/UserInputQueryBuilder.java
index 12a517b3f50..ae683312dd2 100644
--- a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/UserInputQueryBuilder.java
+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/builders/UserInputQueryBuilder.java
@@ -1,13 +1,13 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.queryparser.classic.ParseException;
import org.apache.lucene.queryparser.classic.QueryParser;
import org.apache.lucene.search.Query;
import org.apache.lucene.util.Version;
-import org.apache.lucene.xmlparser.DOMUtils;
-import org.apache.lucene.xmlparser.ParserException;
-import org.apache.lucene.xmlparser.QueryBuilder;
+import org.apache.lucene.queryparser.xml.DOMUtils;
+import org.apache.lucene.queryparser.xml.ParserException;
+import org.apache.lucene.queryparser.xml.QueryBuilder;
import org.w3c.dom.Element;
/**
diff --git a/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/package.html b/modules/queryparser/src/java/org/apache/lucene/queryparser/xml/package.html
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/package.html
rename to modules/queryparser/src/java/org/apache/lucene/queryparser/xml/package.html
diff --git a/lucene/contrib/xml-query-parser/LuceneContribQuery.dtd b/modules/queryparser/src/resources/org/apache/lucene/queryparser/xml/LuceneContribQuery.dtd
similarity index 100%
rename from lucene/contrib/xml-query-parser/LuceneContribQuery.dtd
rename to modules/queryparser/src/resources/org/apache/lucene/queryparser/xml/LuceneContribQuery.dtd
diff --git a/lucene/contrib/xml-query-parser/LuceneCoreQuery.dtd b/modules/queryparser/src/resources/org/apache/lucene/queryparser/xml/LuceneCoreQuery.dtd
similarity index 100%
rename from lucene/contrib/xml-query-parser/LuceneCoreQuery.dtd
rename to modules/queryparser/src/resources/org/apache/lucene/queryparser/xml/LuceneCoreQuery.dtd
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BooleanFilter.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/BooleanFilter.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BooleanFilter.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/BooleanFilter.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BooleanQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/BooleanQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BooleanQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/BooleanQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BoostingQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/BoostingQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BoostingQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/BoostingQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BoostingTermQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/BoostingTermQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/BoostingTermQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/BoostingTermQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/CachedFilter.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/CachedFilter.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/CachedFilter.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/CachedFilter.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/ConstantScoreQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/ConstantScoreQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/ConstantScoreQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/ConstantScoreQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/DuplicateFilterQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/DuplicateFilterQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/DuplicateFilterQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/DuplicateFilterQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/FuzzyLikeThisQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/FuzzyLikeThisQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/FuzzyLikeThisQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/FuzzyLikeThisQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/LikeThisQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/LikeThisQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/LikeThisQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/LikeThisQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/MatchAllDocsQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/MatchAllDocsQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/MatchAllDocsQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/MatchAllDocsQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/NestedBooleanQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/NestedBooleanQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/NestedBooleanQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/NestedBooleanQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/NumericRangeFilterQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/NumericRangeFilterQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/NumericRangeFilterQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/NumericRangeFilterQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/NumericRangeQueryQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/NumericRangeQueryQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/NumericRangeQueryQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/NumericRangeQueryQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/RangeFilterQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/RangeFilterQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/RangeFilterQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/RangeFilterQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/SpanQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/SpanQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/SpanQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/SpanQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/TermQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/TermQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermsFilterQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/TermsFilterQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermsFilterQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/TermsFilterQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermsQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/TermsQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TermsQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/TermsQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestParser.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/TestParser.java
similarity index 99%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestParser.java
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/TestParser.java
index 560f998d63c..7a2f8d237ba 100644
--- a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestParser.java
+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/TestParser.java
@@ -1,4 +1,4 @@
-package org.apache.lucene.xmlparser;
+package org.apache.lucene.queryparser.xml;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestQueryTemplateManager.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/TestQueryTemplateManager.java
similarity index 99%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestQueryTemplateManager.java
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/TestQueryTemplateManager.java
index 041b493e986..2c021348dc9 100644
--- a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestQueryTemplateManager.java
+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/TestQueryTemplateManager.java
@@ -1,4 +1,4 @@
-package org.apache.lucene.xmlparser;
+package org.apache.lucene.queryparser.xml;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/UserInputQuery.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/UserInputQuery.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/UserInputQuery.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/UserInputQuery.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/UserInputQueryCustomField.xml b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/UserInputQueryCustomField.xml
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/UserInputQueryCustomField.xml
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/UserInputQueryCustomField.xml
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/albumBooleanQuery.xsl b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/albumBooleanQuery.xsl
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/albumBooleanQuery.xsl
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/albumBooleanQuery.xsl
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/albumFilteredQuery.xsl b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/albumFilteredQuery.xsl
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/albumFilteredQuery.xsl
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/albumFilteredQuery.xsl
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/albumLuceneClassicQuery.xsl b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/albumLuceneClassicQuery.xsl
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/albumLuceneClassicQuery.xsl
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/albumLuceneClassicQuery.xsl
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/builders/TestNumericRangeFilterBuilder.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/builders/TestNumericRangeFilterBuilder.java
similarity index 98%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/builders/TestNumericRangeFilterBuilder.java
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/builders/TestNumericRangeFilterBuilder.java
index cae88aa2b73..1fce827473b 100644
--- a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/builders/TestNumericRangeFilterBuilder.java
+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/builders/TestNumericRangeFilterBuilder.java
@@ -1,4 +1,4 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
@@ -25,7 +25,7 @@ import org.apache.lucene.search.Filter;
import org.apache.lucene.search.NumericRangeFilter;
import org.apache.lucene.store.Directory;
import org.apache.lucene.util.LuceneTestCase;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Document;
import org.xml.sax.SAXException;
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/builders/TestNumericRangeQueryBuilder.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/builders/TestNumericRangeQueryBuilder.java
similarity index 98%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/builders/TestNumericRangeQueryBuilder.java
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/builders/TestNumericRangeQueryBuilder.java
index edd42058f89..bdc3207fe26 100644
--- a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/builders/TestNumericRangeQueryBuilder.java
+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/builders/TestNumericRangeQueryBuilder.java
@@ -1,4 +1,4 @@
-package org.apache.lucene.xmlparser.builders;
+package org.apache.lucene.queryparser.xml.builders;
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
@@ -20,7 +20,7 @@ package org.apache.lucene.xmlparser.builders;
import org.apache.lucene.search.NumericRangeQuery;
import org.apache.lucene.search.Query;
import org.apache.lucene.util.LuceneTestCase;
-import org.apache.lucene.xmlparser.ParserException;
+import org.apache.lucene.queryparser.xml.ParserException;
import org.w3c.dom.Document;
import org.xml.sax.SAXException;
diff --git a/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/reuters21578.txt b/modules/queryparser/src/test/org/apache/lucene/queryparser/xml/reuters21578.txt
similarity index 100%
rename from lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/reuters21578.txt
rename to modules/queryparser/src/test/org/apache/lucene/queryparser/xml/reuters21578.txt
diff --git a/lucene/contrib/xml-query-parser/dtddocbuild.xml b/modules/queryparser/xmldtddocbuild.xml
similarity index 95%
rename from lucene/contrib/xml-query-parser/dtddocbuild.xml
rename to modules/queryparser/xmldtddocbuild.xml
index 31ce021a28d..60bb3dfb5e2 100644
--- a/lucene/contrib/xml-query-parser/dtddocbuild.xml
+++ b/modules/queryparser/xmldtddocbuild.xml
@@ -43,7 +43,7 @@
sourceDir="."
destDir="docs"
docTitle = "Lucene XML Query syntax">
- <include name="*.dtd"/>
+ <include name="org/apache/lucene/queryparser/xml/*.dtd"/>
</DTDDoc>
</target>
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index d36f9a5bc4d..f41044ea4c3 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -302,6 +302,9 @@ Other Changes
it's easier to add other DirectoryFactory's without static caching hacks.
(Mark Miller)
+* LUCENE-3286: 'luke' ant target has been disabled due to incompatibilities with XML
+ queryparser location (Chris Male)
+
Documentation
----------------------
diff --git a/solr/build.xml b/solr/build.xml
index 7d021851f43..f377b6a69d1 100644
--- a/solr/build.xml
+++ b/solr/build.xml
@@ -29,7 +29,7 @@
<echo message="Use 'ant javadocs' to build javadocs under build/docs/api" />
<echo message="Use 'ant generate-maven-artifacts' to generate maven artifacts." />
<echo message="Use 'ant package' to generate zip, tgz for distribution." />
- <echo message="Use 'ant luke' to start luke. see: http://luke.googlecode.com" />
+ <!--<echo message="Use 'ant luke' to start luke. see: http://luke.googlecode.com" />-->
<echo message="Use 'ant test' to run unit tests." />
</target>
@@ -87,10 +87,11 @@
<target name="proxy.setup" if="proxy.specified">
<setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}" proxyuser="${proxy.user}" proxypassword="${proxy.password}"/>
</target>
-
+ <!--LUCENE-3286: Luke is incompatible with new XML QP location and target is not flexible
+ when it comes to incompatible changes. Update when Luke has updated.
<target name="compile-xml-query-parser">
- <ant dir="${common.dir}/contrib/xml-query-parser" target="compile-core" inheritAll="false">
+ <ant dir="${common.dir}/../modules/queryparser" target="compile-core" inheritAll="false">
<propertyset refid="uptodate.and.compiled.properties"/>
</ant>
</target>
@@ -104,7 +105,7 @@
</target>
<path id="luke.classpath">
<pathelement location="${common.dir}/build/classes/java" />
- <pathelement location="${common.dir}/build/contrib/xml-query-parser/classes/java" />
+ <pathelement location="${common.dir}/../modules/queryparser/build/classes/java" />
</path>
<target name="luke" depends="luke-download">
<java fork="true"
@@ -120,7 +121,7 @@
<path refid="test.classpath"/>
</classpath>
</java>
- </target>
+ </target>-->
<!-- ========================================================================= -->
<!-- ========================== BUILD/TEST TASKS ============================= -->