Apache Lucene open-source search software
LUCENE-3285: Moved analyzing, complexphrase, etx and surround queryparsers to qp module
Christopher John Maleb3671752f2e7
diff --git a/lucene/build.xml b/lucene/build.xmlindex ab98e309df2..17e17774bea 100644--- a/lucene/build.xml+++ b/lucene/build.xml@@ -416,9 +416,6 @@<!-- ================================================================== --><target name="clean-javacc"><delete>- <fileset dir="contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser" includes="*.java">- <containsregexp expression="Generated.*By.*JavaCC"/>- </fileset><fileset dir="contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/parser" includes="*.java"><containsregexp expression="Generated.*By.*JavaCC"/></fileset>diff --git a/lucene/contrib/queryparser/build.xml b/lucene/contrib/queryparser/build.xmlindex f1492c8e606..ab7e453f4ad 100644--- a/lucene/contrib/queryparser/build.xml+++ b/lucene/contrib/queryparser/build.xml@@ -37,7 +37,7 @@<!--NOTE: see the README.javacc for details on how to fully regenerate the parser-->- <target name="javacc" depends="javacc-flexible,javacc-surround"/>+ <target name="javacc" depends="javacc-flexible"/><target name="javacc-flexible" depends="javacc-check"><delete>@@ -102,12 +102,6 @@ import org.apache.lucene.queryParser.core.messages.*;"byline="true"/></target>- <target name="javacc-surround" depends="javacc-check" description="generate surround query parser from jj (requires javacc 4.1">- <invoke-javacc target="src/java/org/apache/lucene/queryParser/surround/parser/QueryParser.jj"- outputDir="src/java/org/apache/lucene/queryParser/surround/parser"- />- </target>-<target name="build-queryparser" unless="queryparser.uptodate"><echo>QueryParser Contrib building dependency modules/queryparser</echo><subant target="default">diff --git a/modules/queryparser/build.xml b/modules/queryparser/build.xmlindex 7bdec278ab2..ff34f9c40de 100644--- a/modules/queryparser/build.xml+++ b/modules/queryparser/build.xml@@ -33,10 +33,13 @@<fileset dir="src/java/org/apache/lucene/queryparser/classic" includes="*.java"><containsregexp expression="Generated.*By.*JavaCC"/></fileset>+ <fileset dir="src/java/org/apache/lucene/queryparser/surround/parser" includes="*.java">+ <containsregexp expression="Generated.*By.*JavaCC"/>+ </fileset></delete></target>- <target name="javacc" depends="init,javacc-check,clean-javacc,javacc-QueryParser"/>+ <target name="javacc" depends="init,javacc-check,clean-javacc,javacc-QueryParser,javacc-surround"/><target name="javacc-QueryParser" depends="init,javacc-check" if="javacc.present"><sequential>@@ -56,4 +59,10 @@</sequential></target>+ <target name="javacc-surround" depends="javacc-check" description="generate surround query parser from jj (requires javacc 4.1">+ <invoke-javacc target="src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.jj"+ outputDir="src/java/org/apache/lucene/queryparser/surround/parser"+ />+ </target>+</project>diff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/analyzing/AnalyzingQueryParser.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/analyzing/AnalyzingQueryParser.javasimilarity index 99%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/analyzing/AnalyzingQueryParser.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/analyzing/AnalyzingQueryParser.javaindex ae8defe16f1..bacc296edc8 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/analyzing/AnalyzingQueryParser.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/analyzing/AnalyzingQueryParser.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.analyzing;+package org.apache.lucene.queryparser.analyzing;/*** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/analyzing/package.html b/modules/queryparser/src/java/org/apache/lucene/queryparser/analyzing/package.htmlsimilarity index 100%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/analyzing/package.htmlrename to modules/queryparser/src/java/org/apache/lucene/queryparser/analyzing/package.htmldiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/complexPhrase/ComplexPhraseQueryParser.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/complexPhrase/ComplexPhraseQueryParser.javasimilarity index 99%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/complexPhrase/ComplexPhraseQueryParser.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/complexPhrase/ComplexPhraseQueryParser.javaindex 97deb6f3fa0..f7611c7992d 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/complexPhrase/ComplexPhraseQueryParser.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/complexPhrase/ComplexPhraseQueryParser.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.complexPhrase;+package org.apache.lucene.queryparser.complexPhrase;/*** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/complexPhrase/package.html b/modules/queryparser/src/java/org/apache/lucene/queryparser/complexPhrase/package.htmlsimilarity index 100%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/complexPhrase/package.htmlrename to modules/queryparser/src/java/org/apache/lucene/queryparser/complexPhrase/package.htmldiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/ExtendableQueryParser.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/ext/ExtendableQueryParser.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/ExtendableQueryParser.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/ext/ExtendableQueryParser.javaindex c85712b6f4b..fdda8c3dfdd 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/ExtendableQueryParser.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/ext/ExtendableQueryParser.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.ext;+package org.apache.lucene.queryparser.ext;/*** Licensed to the Apache Software Foundation (ASF) under one or more@@ -18,7 +18,7 @@ package org.apache.lucene.queryParser.ext;*/import org.apache.lucene.analysis.Analyzer;-import org.apache.lucene.queryParser.ext.Extensions.Pair;+import org.apache.lucene.queryparser.ext.Extensions.Pair;import org.apache.lucene.queryparser.classic.ParseException;import org.apache.lucene.queryparser.classic.QueryParser;import org.apache.lucene.search.Query;diff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/ExtensionQuery.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/ext/ExtensionQuery.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/ExtensionQuery.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/ext/ExtensionQuery.javaindex 423cad3712c..4789633b5c0 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/ExtensionQuery.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/ext/ExtensionQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.ext;+package org.apache.lucene.queryparser.ext;import org.apache.lucene.queryparser.classic.QueryParser;diff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/Extensions.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/ext/Extensions.javasimilarity index 99%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/Extensions.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/ext/Extensions.javaindex 9e3ee393d1d..04f91281a2d 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/Extensions.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/ext/Extensions.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.ext;+package org.apache.lucene.queryparser.ext;/*** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/ParserExtension.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/ext/ParserExtension.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/ParserExtension.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/ext/ParserExtension.javaindex 77f9ada5efc..294a8a35741 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/ParserExtension.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/ext/ParserExtension.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.ext;+package org.apache.lucene.queryparser.ext;/*** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/package.html b/modules/queryparser/src/java/org/apache/lucene/queryparser/ext/package.htmlsimilarity index 100%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/package.htmlrename to modules/queryparser/src/java/org/apache/lucene/queryparser/ext/package.htmldiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/package.html b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/package.htmlsimilarity index 100%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/package.htmlrename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/package.htmldiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/CharStream.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/CharStream.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/CharStream.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/CharStream.javaindex 7c2d5f2acd1..f0e5405f5f9 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/CharStream.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/CharStream.java@@ -1,6 +1,6 @@/* Generated By:JavaCC: Do not edit this line. CharStream.java Version 4.1 *//* JavaCCOptions:STATIC=false */-package org.apache.lucene.queryParser.surround.parser;+package org.apache.lucene.queryparser.surround.parser;/*** This interface describes a character stream that maintains line anddiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/FastCharStream.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/FastCharStream.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/FastCharStream.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/FastCharStream.javaindex 093c4eb4707..e035e6134b0 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/FastCharStream.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/FastCharStream.java@@ -1,5 +1,5 @@// FastCharStream.java-package org.apache.lucene.queryParser.surround.parser;+package org.apache.lucene.queryparser.surround.parser;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/ParseException.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/ParseException.javasimilarity index 99%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/ParseException.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/ParseException.javaindex 99a3261967b..a555e24b84d 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/ParseException.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/ParseException.java@@ -1,6 +1,6 @@/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 4.1 *//* JavaCCOptions:KEEP_LINE_COL=null */-package org.apache.lucene.queryParser.surround.parser;+package org.apache.lucene.queryparser.surround.parser;/*** This exception is thrown when parse errors are encountered.diff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/QueryParser.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.javasimilarity index 97%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/QueryParser.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.javaindex be6f9b86c56..d79746ea32d 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/QueryParser.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.java@@ -1,5 +1,5 @@/* Generated By:JavaCC: Do not edit this line. QueryParser.java */-package org.apache.lucene.queryParser.surround.parser;+package org.apache.lucene.queryparser.surround.parser;import java.util.ArrayList;import java.util.List;@@ -8,15 +8,15 @@ import java.io.StringReader;import org.apache.lucene.analysis.TokenStream;-import org.apache.lucene.queryParser.surround.query.SrndQuery;-import org.apache.lucene.queryParser.surround.query.FieldsQuery;-import org.apache.lucene.queryParser.surround.query.OrQuery;-import org.apache.lucene.queryParser.surround.query.AndQuery;-import org.apache.lucene.queryParser.surround.query.NotQuery;-import org.apache.lucene.queryParser.surround.query.DistanceQuery;-import org.apache.lucene.queryParser.surround.query.SrndTermQuery;-import org.apache.lucene.queryParser.surround.query.SrndPrefixQuery;-import org.apache.lucene.queryParser.surround.query.SrndTruncQuery;+import org.apache.lucene.queryparser.surround.query.SrndQuery;+import org.apache.lucene.queryparser.surround.query.FieldsQuery;+import org.apache.lucene.queryparser.surround.query.OrQuery;+import org.apache.lucene.queryparser.surround.query.AndQuery;+import org.apache.lucene.queryparser.surround.query.NotQuery;+import org.apache.lucene.queryparser.surround.query.DistanceQuery;+import org.apache.lucene.queryparser.surround.query.SrndTermQuery;+import org.apache.lucene.queryparser.surround.query.SrndPrefixQuery;+import org.apache.lucene.queryparser.surround.query.SrndTruncQuery;/*** This class is generated by JavaCC. The only method that clients should needdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/QueryParser.jj b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.jjsimilarity index 94%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/QueryParser.jjrename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.jjindex a29964a03c6..8c64f095552 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/QueryParser.jj+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParser.jj@@ -28,7 +28,7 @@ options {PARSER_BEGIN(QueryParser)-package org.apache.lucene.queryParser.surround.parser;+package org.apache.lucene.queryparser.surround.parser;import java.util.ArrayList;import java.util.List;@@ -37,15 +37,15 @@ import java.io.StringReader;import org.apache.lucene.analysis.TokenStream;-import org.apache.lucene.queryParser.surround.query.SrndQuery;-import org.apache.lucene.queryParser.surround.query.FieldsQuery;-import org.apache.lucene.queryParser.surround.query.OrQuery;-import org.apache.lucene.queryParser.surround.query.AndQuery;-import org.apache.lucene.queryParser.surround.query.NotQuery;-import org.apache.lucene.queryParser.surround.query.DistanceQuery;-import org.apache.lucene.queryParser.surround.query.SrndTermQuery;-import org.apache.lucene.queryParser.surround.query.SrndPrefixQuery;-import org.apache.lucene.queryParser.surround.query.SrndTruncQuery;+import org.apache.lucene.queryparser.surround.query.SrndQuery;+import org.apache.lucene.queryparser.surround.query.FieldsQuery;+import org.apache.lucene.queryparser.surround.query.OrQuery;+import org.apache.lucene.queryparser.surround.query.AndQuery;+import org.apache.lucene.queryparser.surround.query.NotQuery;+import org.apache.lucene.queryparser.surround.query.DistanceQuery;+import org.apache.lucene.queryparser.surround.query.SrndTermQuery;+import org.apache.lucene.queryparser.surround.query.SrndPrefixQuery;+import org.apache.lucene.queryparser.surround.query.SrndTruncQuery;/*** This class is generated by JavaCC. The only method that clients should needdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/QueryParserConstants.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParserConstants.javasimilarity index 97%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/QueryParserConstants.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParserConstants.javaindex fe45496eb14..bba63f297f7 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/QueryParserConstants.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParserConstants.java@@ -1,5 +1,5 @@/* Generated By:JavaCC: Do not edit this line. QueryParserConstants.java */-package org.apache.lucene.queryParser.surround.parser;+package org.apache.lucene.queryparser.surround.parser;/**diff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/QueryParserTokenManager.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParserTokenManager.javasimilarity index 97%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/QueryParserTokenManager.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParserTokenManager.javaindex fb5a93f3082..dfbe431d03a 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/QueryParserTokenManager.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/QueryParserTokenManager.java@@ -1,18 +1,18 @@/* Generated By:JavaCC: Do not edit this line. QueryParserTokenManager.java */-package org.apache.lucene.queryParser.surround.parser;+package org.apache.lucene.queryparser.surround.parser;import java.util.ArrayList;import java.util.List;import java.io.StringReader;import org.apache.lucene.analysis.TokenStream;-import org.apache.lucene.queryParser.surround.query.SrndQuery;-import org.apache.lucene.queryParser.surround.query.FieldsQuery;-import org.apache.lucene.queryParser.surround.query.OrQuery;-import org.apache.lucene.queryParser.surround.query.AndQuery;-import org.apache.lucene.queryParser.surround.query.NotQuery;-import org.apache.lucene.queryParser.surround.query.DistanceQuery;-import org.apache.lucene.queryParser.surround.query.SrndTermQuery;-import org.apache.lucene.queryParser.surround.query.SrndPrefixQuery;-import org.apache.lucene.queryParser.surround.query.SrndTruncQuery;+import org.apache.lucene.queryparser.surround.query.SrndQuery;+import org.apache.lucene.queryparser.surround.query.FieldsQuery;+import org.apache.lucene.queryparser.surround.query.OrQuery;+import org.apache.lucene.queryparser.surround.query.AndQuery;+import org.apache.lucene.queryparser.surround.query.NotQuery;+import org.apache.lucene.queryparser.surround.query.DistanceQuery;+import org.apache.lucene.queryparser.surround.query.SrndTermQuery;+import org.apache.lucene.queryparser.surround.query.SrndPrefixQuery;+import org.apache.lucene.queryparser.surround.query.SrndTruncQuery;/** Token Manager. */public class QueryParserTokenManager implements QueryParserConstantsdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/Token.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/Token.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/Token.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/Token.javaindex 6c122891fbd..21dfc0e9098 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/Token.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/Token.java@@ -1,6 +1,6 @@/* Generated By:JavaCC: Do not edit this line. Token.java Version 4.1 *//* JavaCCOptions:TOKEN_EXTENDS=,KEEP_LINE_COL=null */-package org.apache.lucene.queryParser.surround.parser;+package org.apache.lucene.queryparser.surround.parser;/*** Describes the input token stream.diff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/TokenMgrError.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/TokenMgrError.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/TokenMgrError.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/TokenMgrError.javaindex bced060bdaf..e0c9c1e030f 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/TokenMgrError.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/TokenMgrError.java@@ -1,6 +1,6 @@/* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 4.1 *//* JavaCCOptions: */-package org.apache.lucene.queryParser.surround.parser;+package org.apache.lucene.queryparser.surround.parser;/** Token Manager Error. */@SuppressWarnings("serial")diff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/package.html b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/package.htmlsimilarity index 94%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/package.htmlrename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/package.htmlindex f8457d1eda4..0d462405dca 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/package.html+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/parser/package.html@@ -23,6 +23,6 @@This package contains the QueryParser.jj source file for the Surround parser.<p/>Parsing the text of a query results in a SrndQuery in the- org.apache.lucene.queryParser.surround.query package.+ org.apache.lucene.queryparser.surround.query package.</body></html>diff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/AndQuery.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/AndQuery.javasimilarity index 96%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/AndQuery.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/AndQuery.javaindex a5d628c6485..08583cfa185 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/AndQuery.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/AndQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/BasicQueryFactory.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/BasicQueryFactory.javasimilarity index 97%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/BasicQueryFactory.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/BasicQueryFactory.javaindex a55bdd2ebd5..1f9aa4debee 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/BasicQueryFactory.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/BasicQueryFactory.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/ComposedQuery.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/ComposedQuery.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/ComposedQuery.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/ComposedQuery.javaindex 0b43d97ce8a..0435d09b2b8 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/ComposedQuery.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/ComposedQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/DistanceQuery.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/DistanceQuery.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/DistanceQuery.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/DistanceQuery.javaindex 9e40f00ddb5..ed654ba314d 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/DistanceQuery.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/DistanceQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/DistanceSubQuery.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/DistanceSubQuery.javasimilarity index 95%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/DistanceSubQuery.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/DistanceSubQuery.javaindex d63b82ea1f9..8460b5ee761 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/DistanceSubQuery.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/DistanceSubQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/FieldsQuery.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/FieldsQuery.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/FieldsQuery.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/FieldsQuery.javaindex daea96d73e3..114e9c789e9 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/FieldsQuery.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/FieldsQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/NotQuery.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/NotQuery.javasimilarity index 96%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/NotQuery.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/NotQuery.javaindex a53b6396d2b..c724be160e9 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/NotQuery.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/NotQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/OrQuery.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/OrQuery.javasimilarity index 97%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/OrQuery.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/OrQuery.javaindex 72fd5f0d3ca..bafa7db7243 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/OrQuery.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/OrQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SimpleTerm.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SimpleTerm.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SimpleTerm.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SimpleTerm.javaindex 436aabafc5c..3e9c1e336d3 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SimpleTerm.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SimpleTerm.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SpanNearClauseFactory.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SpanNearClauseFactory.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SpanNearClauseFactory.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SpanNearClauseFactory.javaindex 44f534bd923..68df313f008 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SpanNearClauseFactory.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SpanNearClauseFactory.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndBooleanQuery.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndBooleanQuery.javasimilarity index 96%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndBooleanQuery.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndBooleanQuery.javaindex d2b3c6c89c5..fc836af6909 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndBooleanQuery.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndBooleanQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndPrefixQuery.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndPrefixQuery.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndPrefixQuery.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndPrefixQuery.javaindex 1c2d1393eb4..6af52673c30 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndPrefixQuery.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndPrefixQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndQuery.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndQuery.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndQuery.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndQuery.javaindex 523c076908a..6d913ad9637 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndQuery.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndTermQuery.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndTermQuery.javasimilarity index 97%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndTermQuery.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndTermQuery.javaindex b272d16a237..b8bb356a5dd 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndTermQuery.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndTermQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndTruncQuery.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndTruncQuery.javasimilarity index 98%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndTruncQuery.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndTruncQuery.javaindex df9b9527298..9ba02a72775 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/SrndTruncQuery.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/SrndTruncQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/TooManyBasicQueries.java b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/TooManyBasicQueries.javasimilarity index 95%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/TooManyBasicQueries.javarename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/TooManyBasicQueries.javaindex bf5d0744f99..c7080d6da23 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/TooManyBasicQueries.java+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/TooManyBasicQueries.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more* contributor license agreements. See the NOTICE file distributed withdiff --git a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/package.html b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/package.htmlsimilarity index 95%rename from lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/package.htmlrename to modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/package.htmlindex 4d125a23af5..2dd7a03a3c9 100644--- a/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/package.html+++ b/modules/queryparser/src/java/org/apache/lucene/queryparser/surround/query/package.html@@ -22,7 +22,7 @@<body>This package contains SrndQuery and its subclasses.<p/>- The parser in the org.apache.lucene.queryParser.surround.parser package+ The parser in the org.apache.lucene.queryparser.surround.parser packagenormally generates a SrndQuery.<p/>For searching an org.apache.lucene.search.Query is provided bydiff --git a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/analyzing/TestAnalyzingQueryParser.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/analyzing/TestAnalyzingQueryParser.javasimilarity index 99%rename from lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/analyzing/TestAnalyzingQueryParser.javarename to modules/queryparser/src/test/org/apache/lucene/queryparser/analyzing/TestAnalyzingQueryParser.javaindex 515d430f980..22b9df40774 100644--- a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/analyzing/TestAnalyzingQueryParser.java+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/analyzing/TestAnalyzingQueryParser.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.analyzing;+package org.apache.lucene.queryparser.analyzing;/*** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/complexPhrase/TestComplexPhraseQuery.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/complexPhrase/TestComplexPhraseQuery.javasimilarity index 98%rename from lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/complexPhrase/TestComplexPhraseQuery.javarename to modules/queryparser/src/test/org/apache/lucene/queryparser/complexPhrase/TestComplexPhraseQuery.javaindex f3cd3f31dfd..e1f8c23aa28 100644--- a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/complexPhrase/TestComplexPhraseQuery.java+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/complexPhrase/TestComplexPhraseQuery.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.complexPhrase;+package org.apache.lucene.queryparser.complexPhrase;/*** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/ext/ExtensionStub.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/ext/ExtensionStub.javasimilarity index 96%rename from lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/ext/ExtensionStub.javarename to modules/queryparser/src/test/org/apache/lucene/queryparser/ext/ExtensionStub.javaindex 59f17221608..7285b084615 100644--- a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/ext/ExtensionStub.java+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/ext/ExtensionStub.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.ext;+package org.apache.lucene.queryparser.ext;import org.apache.lucene.index.Term;import org.apache.lucene.queryparser.classic.ParseException;diff --git a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/ext/TestExtendableQueryParser.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/ext/TestExtendableQueryParser.javasimilarity index 99%rename from lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/ext/TestExtendableQueryParser.javarename to modules/queryparser/src/test/org/apache/lucene/queryparser/ext/TestExtendableQueryParser.javaindex 7aedc93e7ce..3592728765d 100644--- a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/ext/TestExtendableQueryParser.java+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/ext/TestExtendableQueryParser.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.ext;+package org.apache.lucene.queryparser.ext;/*** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/ext/TestExtensions.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/ext/TestExtensions.javasimilarity index 98%rename from lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/ext/TestExtensions.javarename to modules/queryparser/src/test/org/apache/lucene/queryparser/ext/TestExtensions.javaindex 3e73cb4576f..c590ecb397f 100644--- a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/ext/TestExtensions.java+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/ext/TestExtensions.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.ext;+package org.apache.lucene.queryparser.ext;/*** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/BooleanQueryTst.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/BooleanQueryTst.javasimilarity index 97%rename from lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/BooleanQueryTst.javarename to modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/BooleanQueryTst.javaindex bba9321f3b4..f9ef31e89ef 100644--- a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/BooleanQueryTst.java+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/BooleanQueryTst.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more@@ -25,7 +25,7 @@ import org.apache.lucene.search.Collector;import org.apache.lucene.search.Scorer;import org.apache.lucene.search.Query;-import org.apache.lucene.queryParser.surround.parser.QueryParser;+import org.apache.lucene.queryparser.surround.parser.QueryParser;import org.junit.Assert;diff --git a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/ExceptionQueryTst.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/ExceptionQueryTst.javasimilarity index 91%rename from lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/ExceptionQueryTst.javarename to modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/ExceptionQueryTst.javaindex 2fa38bac811..2d2c695a46c 100644--- a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/ExceptionQueryTst.java+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/ExceptionQueryTst.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more@@ -17,8 +17,8 @@ package org.apache.lucene.queryParser.surround.query;* limitations under the License.*/-import org.apache.lucene.queryParser.surround.parser.ParseException;-import org.apache.lucene.queryParser.surround.parser.QueryParser;+import org.apache.lucene.queryparser.surround.parser.ParseException;+import org.apache.lucene.queryparser.surround.parser.QueryParser;public class ExceptionQueryTst {diff --git a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/SingleFieldTestDb.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/SingleFieldTestDb.javasimilarity index 97%rename from lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/SingleFieldTestDb.javarename to modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/SingleFieldTestDb.javaindex dffb925ed6b..58641195fb5 100644--- a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/SingleFieldTestDb.java+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/SingleFieldTestDb.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/Test01Exceptions.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/Test01Exceptions.javasimilarity index 97%rename from lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/Test01Exceptions.javarename to modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/Test01Exceptions.javaindex 493658cb533..fe5e3abe2e9 100644--- a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/Test01Exceptions.java+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/Test01Exceptions.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/Test02Boolean.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/Test02Boolean.javasimilarity index 98%rename from lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/Test02Boolean.javarename to modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/Test02Boolean.javaindex c179d94585a..e02e25e4269 100644--- a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/Test02Boolean.java+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/Test02Boolean.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or morediff --git a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/Test03Distance.java b/modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/Test03Distance.javasimilarity index 99%rename from lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/Test03Distance.javarename to modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/Test03Distance.javaindex f230bb554d5..336acf93381 100644--- a/lucene/contrib/queryparser/src/test/org/apache/lucene/queryParser/surround/query/Test03Distance.java+++ b/modules/queryparser/src/test/org/apache/lucene/queryparser/surround/query/Test03Distance.java@@ -1,4 +1,4 @@-package org.apache.lucene.queryParser.surround.query;+package org.apache.lucene.queryparser.surround.query;/*** Licensed to the Apache Software Foundation (ASF) under one or more