Apache Lucene open-source search software
LUCENE-4340: move non-default codec, postings format and terms dictionary implementations to lucene/codecs.
Adrien Grand257db54ab01f
diff --git a/dev-tools/eclipse/dot.classpath b/dev-tools/eclipse/dot.classpathindex 0a3714685f3..0c61c3f9475 100644--- a/dev-tools/eclipse/dot.classpath+++ b/dev-tools/eclipse/dot.classpath@@ -3,6 +3,9 @@<classpathentry kind="src" path="lucene/core/src/java"/><classpathentry kind="src" path="lucene/core/src/resources"/><classpathentry kind="src" path="lucene/core/src/test"/>+ <classpathentry kind="src" path="lucene/codecs/src/java"/>+ <classpathentry kind="src" output="bin/codecs" path="lucene/codecs/src/resources"/>+ <classpathentry kind="src" path="lucene/codecs/src/test"/><classpathentry kind="src" path="lucene/demo/src/java"/><classpathentry kind="src" path="lucene/demo/src/resources"/><classpathentry kind="src" path="lucene/demo/src/test"/>diff --git a/dev-tools/idea/.idea/ant.xml b/dev-tools/idea/.idea/ant.xmlindex 9cfa45ce5a6..53727458351 100644--- a/dev-tools/idea/.idea/ant.xml+++ b/dev-tools/idea/.idea/ant.xml@@ -8,6 +8,7 @@<buildFile url="file://$PROJECT_DIR$/lucene/memory/build.xml" /><buildFile url="file://$PROJECT_DIR$/lucene/misc/build.xml" /><buildFile url="file://$PROJECT_DIR$/lucene/sandbox/build.xml" />+ <buildFile url="file://$PROJECT_DIR$/lucene/codecs/build.xml" /><buildFile url="file://$PROJECT_DIR$/lucene/core/build.xml" /><buildFile url="file://$PROJECT_DIR$/lucene/tools/build.xml" /><buildFile url="file://$PROJECT_DIR$/lucene/test-framework/build.xml" />diff --git a/dev-tools/idea/.idea/modules.xml b/dev-tools/idea/.idea/modules.xmlindex 89cb4771edc..14e7a0b2ca2 100644--- a/dev-tools/idea/.idea/modules.xml+++ b/dev-tools/idea/.idea/modules.xml@@ -4,6 +4,7 @@<modules><module filepath="$PROJECT_DIR$/parent.iml" /><module filepath="$PROJECT_DIR$/lucene/lucene.iml" />+ <module filepath="$PROJECT_DIR$/lucene/codecs/codecs.iml" /><module filepath="$PROJECT_DIR$/lucene/demo/demo.iml" /><module filepath="$PROJECT_DIR$/lucene/highlighter/highlighter.iml" /><module filepath="$PROJECT_DIR$/lucene/memory/memory.iml" />diff --git a/dev-tools/idea/.idea/workspace.xml b/dev-tools/idea/.idea/workspace.xmlindex cb40bf4903a..d2be0796c21 100644--- a/dev-tools/idea/.idea/workspace.xml+++ b/dev-tools/idea/.idea/workspace.xml@@ -78,6 +78,13 @@antfile="file://$PROJECT_DIR$/lucene/benchmark/build.xml" /></method></configuration>+ <configuration default="false" name="Module codecs" type="JUnit" factoryName="JUnit">+ <module name="facet" />+ <option name="TEST_OBJECT" value="package" />+ <option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$/lucene/build/codecs" />+ <option name="VM_PARAMETERS" value="-ea -DtempDir=temp" />+ <option name="TEST_SEARCH_SCOPE"><value defaultName="singleModule" /></option>+ </configuration><configuration default="false" name="Module facet" type="JUnit" factoryName="JUnit"><module name="facet" /><option name="TEST_OBJECT" value="package" />diff --git a/dev-tools/idea/lucene/codecs/codecs.iml b/dev-tools/idea/lucene/codecs/codecs.imlnew file mode 100644index 00000000000..1ace4405c83--- /dev/null+++ b/dev-tools/idea/lucene/codecs/codecs.iml@@ -0,0 +1,16 @@+<?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/codecs/classes/java" />+ <output-test url="file://$MODULE_DIR$/../build/codecs/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="lucene" />+ </component>+</module>diff --git a/dev-tools/maven/lucene/codecs/pom.xml.template b/dev-tools/maven/lucene/codecs/pom.xml.templatenew file mode 100644index 00000000000..46384155add--- /dev/null+++ b/dev-tools/maven/lucene/codecs/pom.xml.template@@ -0,0 +1,72 @@+<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-codecs</artifactId>+ <packaging>jar</packaging>+ <name>Lucene codecs</name>+ <description>+ Codecs and postings formats for Apache Lucene.+ </description>+ <properties>+ <module-directory>lucene/codecs</module-directory>+ <top-level>../../..</top-level>+ <module-path>${top-level}/${module-directory}</module-path>+ </properties>+ <scm>+ <connection>scm:svn:${vc-anonymous-base-url}/${module-directory}</connection>+ <developerConnection>scm:svn:${vc-dev-base-url}/${module-directory}</developerConnection>+ <url>${vc-browse-base-url}/${module-directory}</url>+ </scm>+ <dependencies>+ <dependency>+ <!-- lucene-test-framework dependency must be declared before lucene-core -->+ <groupId>${project.groupId}</groupId>+ <artifactId>lucene-test-framework</artifactId>+ <version>${project.version}</version>+ <scope>test</scope>+ </dependency>+ <dependency>+ <groupId>${project.groupId}</groupId>+ <artifactId>lucene-core</artifactId>+ <version>${project.version}</version>+ </dependency>+ </dependencies>+ <build>+ <sourceDirectory>${module-path}/src/java</sourceDirectory>+ <testSourceDirectory>${module-path}/src/test</testSourceDirectory>+ <testResources>+ <testResource>+ <directory>${project.build.testSourceDirectory}</directory>+ <excludes>+ <exclude>**/*.java</exclude>+ </excludes>+ </testResource>+ </testResources>+ </build>+</project>diff --git a/dev-tools/maven/lucene/pom.xml.template b/dev-tools/maven/lucene/pom.xml.templateindex 9883aa2024d..8e372a983e8 100644--- a/dev-tools/maven/lucene/pom.xml.template+++ b/dev-tools/maven/lucene/pom.xml.template@@ -41,6 +41,7 @@</scm><modules><module>core</module>+ <module>codecs</module><module>test-framework</module><module>analysis</module><module>benchmark</module>diff --git a/dev-tools/scripts/smokeTestRelease.py b/dev-tools/scripts/smokeTestRelease.pyindex 54f1ef3a4de..744b29f30c6 100644--- a/dev-tools/scripts/smokeTestRelease.py+++ b/dev-tools/scripts/smokeTestRelease.py@@ -441,7 +441,7 @@ def verifyUnpacked(project, artifact, unpackPath, version, tmpDir):if project == 'lucene':# TODO: clean this up to not be a list of modules that we must maintain- extras = ('analysis', 'benchmark', 'core', 'demo', 'docs', 'facet', 'grouping', 'highlighter', 'join', 'memory', 'misc', 'queries', 'queryparser', 'sandbox', 'spatial', 'suggest', 'test-framework', 'licenses')+ extras = ('analysis', 'benchmark', 'codecs', 'core', 'demo', 'docs', 'facet', 'grouping', 'highlighter', 'join', 'memory', 'misc', 'queries', 'queryparser', 'sandbox', 'spatial', 'suggest', 'test-framework', 'licenses')if isSrc:extras += ('build.xml', 'common-build.xml', 'module-build.xml', 'ivy-settings.xml', 'backwards', 'tools', 'site')else:diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txtindex 1292007c22e..444a4f501b0 100644--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@ -167,6 +167,9 @@ Buildthe licenses/ folder and the binary release. Some had differentversions or additional unnecessary dependencies. (selckin via Robert Muir)+* LUCENE-4340: Move all non-default codec, postings format and terms+ dictionary implementations to lucene/codecs. (Adrien Grand)+Documentation* LUCENE-4302: Fix facet userguide to have HTML loose doctype likediff --git a/lucene/codecs/build.xml b/lucene/codecs/build.xmlnew file mode 100644index 00000000000..c7f05cfd069--- /dev/null+++ b/lucene/codecs/build.xml@@ -0,0 +1,24 @@+<!--+ 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="codecs" default="default">+ <description>+ Lucene codecs and postings formats.+ </description>++ <import file="../module-build.xml"/>+</project>diff --git a/lucene/codecs/ivy.xml b/lucene/codecs/ivy.xmlnew file mode 100644index 00000000000..388d3e3f324--- /dev/null+++ b/lucene/codecs/ivy.xml@@ -0,0 +1,21 @@+<!--+ Licensed to the Apache Software Foundation (ASF) under one+ or more contributor license agreements. See the NOTICE file+ distributed with this work for additional information+ regarding copyright ownership. The ASF licenses this file+ to you under the Apache License, Version 2.0 (the+ "License"); you may not use this file except in compliance+ with the License. You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing,+ software distributed under the License is distributed on an+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY+ KIND, either express or implied. See the License for the+ specific language governing permissions and limitations+ under the License.+-->+<ivy-module version="2.0">+ <info organisation="org.apache.lucene" module="codecs"/>+</ivy-module>diff --git a/lucene/core/src/java/org/apache/lucene/codecs/BlockTermsReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/BlockTermsReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/BlockTermsReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/BlockTermsReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/BlockTermsWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/BlockTermsWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/BlockTermsWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/BlockTermsWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/FixedGapTermsIndexReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/FixedGapTermsIndexReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/FixedGapTermsIndexReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/FixedGapTermsIndexReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/FixedGapTermsIndexWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/FixedGapTermsIndexWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/FixedGapTermsIndexWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/FixedGapTermsIndexWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/TermsIndexReaderBase.java b/lucene/codecs/src/java/org/apache/lucene/codecs/TermsIndexReaderBase.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/TermsIndexReaderBase.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/TermsIndexReaderBase.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/TermsIndexWriterBase.java b/lucene/codecs/src/java/org/apache/lucene/codecs/TermsIndexWriterBase.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/TermsIndexWriterBase.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/TermsIndexWriterBase.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/VariableGapTermsIndexReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/VariableGapTermsIndexReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/VariableGapTermsIndexReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/VariableGapTermsIndexReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/VariableGapTermsIndexWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/VariableGapTermsIndexWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/VariableGapTermsIndexWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/VariableGapTermsIndexWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/appending/AppendingCodec.java b/lucene/codecs/src/java/org/apache/lucene/codecs/appending/AppendingCodec.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/appending/AppendingCodec.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/appending/AppendingCodec.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/appending/AppendingPostingsFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/appending/AppendingPostingsFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/appending/AppendingPostingsFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/appending/AppendingPostingsFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/appending/AppendingTermsReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/appending/AppendingTermsReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/appending/AppendingTermsReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/appending/AppendingTermsReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/appending/AppendingTermsWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/appending/AppendingTermsWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/appending/AppendingTermsWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/appending/AppendingTermsWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/appending/package.html b/lucene/codecs/src/java/org/apache/lucene/codecs/appending/package.htmlsimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/appending/package.htmlrename to lucene/codecs/src/java/org/apache/lucene/codecs/appending/package.htmldiff --git a/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/block/BlockPostingsFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/block/BlockPostingsReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/block/BlockPostingsWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/block/BlockPostingsWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/block/BlockPostingsWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/block/BlockSkipReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/block/BlockSkipReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/block/BlockSkipWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/block/BlockSkipWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/block/BlockSkipWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/block/ForUtil.java b/lucene/codecs/src/java/org/apache/lucene/codecs/block/ForUtil.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/block/ForUtil.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/block/ForUtil.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/block/package.html b/lucene/codecs/src/java/org/apache/lucene/codecs/block/package.htmlsimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/block/package.htmlrename to lucene/codecs/src/java/org/apache/lucene/codecs/block/package.htmldiff --git a/lucene/core/src/java/org/apache/lucene/codecs/bloom/BloomFilterFactory.java b/lucene/codecs/src/java/org/apache/lucene/codecs/bloom/BloomFilterFactory.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/bloom/BloomFilterFactory.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/bloom/BloomFilterFactory.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/bloom/BloomFilteringPostingsFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/bloom/BloomFilteringPostingsFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/bloom/BloomFilteringPostingsFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/bloom/BloomFilteringPostingsFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/bloom/DefaultBloomFilterFactory.java b/lucene/codecs/src/java/org/apache/lucene/codecs/bloom/DefaultBloomFilterFactory.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/bloom/DefaultBloomFilterFactory.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/bloom/DefaultBloomFilterFactory.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/bloom/package.html b/lucene/codecs/src/java/org/apache/lucene/codecs/bloom/package.htmlsimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/bloom/package.htmlrename to lucene/codecs/src/java/org/apache/lucene/codecs/bloom/package.htmldiff --git a/lucene/core/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexInput.java b/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexInput.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexInput.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexInput.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexOutput.java b/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexOutput.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexOutput.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/intblock/FixedIntBlockIndexOutput.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexInput.java b/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexInput.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexInput.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexInput.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexOutput.java b/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexOutput.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexOutput.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/intblock/VariableIntBlockIndexOutput.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/intblock/package.html b/lucene/codecs/src/java/org/apache/lucene/codecs/intblock/package.htmlsimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/intblock/package.htmlrename to lucene/codecs/src/java/org/apache/lucene/codecs/intblock/package.htmldiff --git a/lucene/core/src/java/org/apache/lucene/codecs/memory/DirectPostingsFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/memory/DirectPostingsFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/memory/DirectPostingsFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/memory/DirectPostingsFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/memory/MemoryPostingsFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/memory/MemoryPostingsFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/memory/MemoryPostingsFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/memory/MemoryPostingsFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/memory/package.html b/lucene/codecs/src/java/org/apache/lucene/codecs/memory/package.htmlsimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/memory/package.htmlrename to lucene/codecs/src/java/org/apache/lucene/codecs/memory/package.htmldiff --git a/lucene/core/src/java/org/apache/lucene/codecs/pulsing/Pulsing40PostingsFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/pulsing/Pulsing40PostingsFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/pulsing/Pulsing40PostingsFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/pulsing/Pulsing40PostingsFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/pulsing/PulsingPostingsFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/pulsing/PulsingPostingsFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/pulsing/PulsingPostingsFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/pulsing/PulsingPostingsFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/pulsing/PulsingPostingsReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/pulsing/PulsingPostingsReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/pulsing/PulsingPostingsReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/pulsing/PulsingPostingsReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/pulsing/PulsingPostingsWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/pulsing/PulsingPostingsWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/pulsing/PulsingPostingsWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/pulsing/PulsingPostingsWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/pulsing/package.html b/lucene/codecs/src/java/org/apache/lucene/codecs/pulsing/package.htmlsimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/pulsing/package.htmlrename to lucene/codecs/src/java/org/apache/lucene/codecs/pulsing/package.htmldiff --git a/lucene/core/src/java/org/apache/lucene/codecs/sep/IntIndexInput.java b/lucene/codecs/src/java/org/apache/lucene/codecs/sep/IntIndexInput.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/sep/IntIndexInput.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/sep/IntIndexInput.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/sep/IntIndexOutput.java b/lucene/codecs/src/java/org/apache/lucene/codecs/sep/IntIndexOutput.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/sep/IntIndexOutput.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/sep/IntIndexOutput.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/sep/IntStreamFactory.java b/lucene/codecs/src/java/org/apache/lucene/codecs/sep/IntStreamFactory.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/sep/IntStreamFactory.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/sep/IntStreamFactory.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/sep/SepDocValuesConsumer.java b/lucene/codecs/src/java/org/apache/lucene/codecs/sep/SepDocValuesConsumer.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/sep/SepDocValuesConsumer.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/sep/SepDocValuesConsumer.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/sep/SepDocValuesProducer.java b/lucene/codecs/src/java/org/apache/lucene/codecs/sep/SepDocValuesProducer.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/sep/SepDocValuesProducer.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/sep/SepDocValuesProducer.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/sep/SepPostingsReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/sep/SepPostingsReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/sep/SepPostingsReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/sep/SepPostingsReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/sep/SepPostingsWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/sep/SepPostingsWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/sep/SepPostingsWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/sep/SepPostingsWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/sep/SepSkipListReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/sep/SepSkipListReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/sep/SepSkipListReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/sep/SepSkipListReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/sep/SepSkipListWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/sep/SepSkipListWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/sep/SepSkipListWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/sep/SepSkipListWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/sep/package.html b/lucene/codecs/src/java/org/apache/lucene/codecs/sep/package.htmlsimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/sep/package.htmlrename to lucene/codecs/src/java/org/apache/lucene/codecs/sep/package.htmldiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextCodec.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextCodec.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextCodec.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextCodec.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextDocValuesConsumer.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextDocValuesConsumer.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextDocValuesConsumer.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextDocValuesConsumer.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextDocValuesFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextDocValuesFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextDocValuesFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextDocValuesFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldInfosFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldInfosFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldInfosFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldInfosFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldInfosReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldInfosReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldInfosReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldInfosReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldInfosWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldInfosWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldInfosWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldInfosWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldsReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldsReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldsReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldsReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldsWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldsWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldsWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextFieldsWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextLiveDocsFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextLiveDocsFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextLiveDocsFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextLiveDocsFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextNormsFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextNormsFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextNormsFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextNormsFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextPerDocConsumer.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextPerDocConsumer.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextPerDocConsumer.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextPerDocConsumer.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextPerDocProducer.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextPerDocProducer.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextPerDocProducer.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextPerDocProducer.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextPostingsFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextPostingsFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextPostingsFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextPostingsFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextSegmentInfoWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextStoredFieldsFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextStoredFieldsFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextStoredFieldsFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextStoredFieldsFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextStoredFieldsReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextStoredFieldsReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextStoredFieldsReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextStoredFieldsReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextStoredFieldsWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextStoredFieldsWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextStoredFieldsWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextStoredFieldsWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextTermVectorsFormat.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextTermVectorsFormat.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextTermVectorsFormat.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextTermVectorsFormat.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextTermVectorsReader.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextTermVectorsReader.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextTermVectorsReader.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextTermVectorsReader.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextTermVectorsWriter.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextTermVectorsWriter.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextTermVectorsWriter.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextTermVectorsWriter.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextUtil.java b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextUtil.javasimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/SimpleTextUtil.javarename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/SimpleTextUtil.javadiff --git a/lucene/core/src/java/org/apache/lucene/codecs/simpletext/package.html b/lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/package.htmlsimilarity index 100%rename from lucene/core/src/java/org/apache/lucene/codecs/simpletext/package.htmlrename to lucene/codecs/src/java/org/apache/lucene/codecs/simpletext/package.htmldiff --git a/lucene/codecs/src/java/overview.html b/lucene/codecs/src/java/overview.htmlnew file mode 100644index 00000000000..25a479b57b0--- /dev/null+++ b/lucene/codecs/src/java/overview.html@@ -0,0 +1,24 @@+<!--+ Licensed to the Apache Software Foundation (ASF) under one or more+ contributor license agreements. See the NOTICE file distributed with+ this work for additional information regarding copyright ownership.+ The ASF licenses this file to You under the Apache License, Version 2.0+ (the "License"); you may not use this file except in compliance with+ the License. You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.+-->+<html>+<head>+ <title>Apache Lucene - Codecs</title>+</head>+<body>+Collection of useful codec, postings format and terms dictionary implementations.+</body>+</html>diff --git a/lucene/codecs/src/resources/META-INF/services/org.apache.lucene.codecs.Codec b/lucene/codecs/src/resources/META-INF/services/org.apache.lucene.codecs.Codecnew file mode 100644index 00000000000..6ec1c5e20b4--- /dev/null+++ b/lucene/codecs/src/resources/META-INF/services/org.apache.lucene.codecs.Codec@@ -0,0 +1,17 @@+# 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.++org.apache.lucene.codecs.simpletext.SimpleTextCodec+org.apache.lucene.codecs.appending.AppendingCodecdiff --git a/lucene/codecs/src/resources/META-INF/services/org.apache.lucene.codecs.PostingsFormat b/lucene/codecs/src/resources/META-INF/services/org.apache.lucene.codecs.PostingsFormatnew file mode 100644index 00000000000..72b05c5e74e--- /dev/null+++ b/lucene/codecs/src/resources/META-INF/services/org.apache.lucene.codecs.PostingsFormat@@ -0,0 +1,21 @@+# Licensed to the Apache Software Foundation (ASF) under one or more+# contributor license agreements. See the NOTICE file distributed with+# this work for additional information regarding copyright ownership.+# The ASF licenses this file to You under the Apache License, Version 2.0+# (the "License"); you may not use this file except in compliance with+# the License. You may obtain a copy of the License at+#+# http://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++org.apache.lucene.codecs.pulsing.Pulsing40PostingsFormat+org.apache.lucene.codecs.simpletext.SimpleTextPostingsFormat+org.apache.lucene.codecs.memory.MemoryPostingsFormat+org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat+org.apache.lucene.codecs.memory.DirectPostingsFormat+org.apache.lucene.codecs.block.BlockPostingsFormatdiff --git a/lucene/core/src/test/org/apache/lucene/codecs/appending/TestAppendingCodec.java b/lucene/codecs/src/test/org/apache/lucene/codecs/appending/TestAppendingCodec.javasimilarity index 100%rename from lucene/core/src/test/org/apache/lucene/codecs/appending/TestAppendingCodec.javarename to lucene/codecs/src/test/org/apache/lucene/codecs/appending/TestAppendingCodec.javadiff --git a/lucene/core/src/test/org/apache/lucene/codecs/block/TestForUtil.java b/lucene/codecs/src/test/org/apache/lucene/codecs/block/TestForUtil.javasimilarity index 100%rename from lucene/core/src/test/org/apache/lucene/codecs/block/TestForUtil.javarename to lucene/codecs/src/test/org/apache/lucene/codecs/block/TestForUtil.javadiff --git a/lucene/core/src/test/org/apache/lucene/codecs/intblock/TestIntBlockCodec.java b/lucene/codecs/src/test/org/apache/lucene/codecs/intblock/TestIntBlockCodec.javasimilarity index 100%rename from lucene/core/src/test/org/apache/lucene/codecs/intblock/TestIntBlockCodec.javarename to lucene/codecs/src/test/org/apache/lucene/codecs/intblock/TestIntBlockCodec.javadiff --git a/lucene/core/src/test/org/apache/lucene/codecs/pulsing/Test10KPulsings.java b/lucene/codecs/src/test/org/apache/lucene/codecs/pulsing/Test10KPulsings.javasimilarity index 100%rename from lucene/core/src/test/org/apache/lucene/codecs/pulsing/Test10KPulsings.javarename to lucene/codecs/src/test/org/apache/lucene/codecs/pulsing/Test10KPulsings.javadiff --git a/lucene/core/src/test/org/apache/lucene/codecs/pulsing/TestPulsingReuse.java b/lucene/codecs/src/test/org/apache/lucene/codecs/pulsing/TestPulsingReuse.javasimilarity index 100%rename from lucene/core/src/test/org/apache/lucene/codecs/pulsing/TestPulsingReuse.javarename to lucene/codecs/src/test/org/apache/lucene/codecs/pulsing/TestPulsingReuse.javadiff --git a/lucene/common-build.xml b/lucene/common-build.xmlindex 13193122975..60c62ca7f31 100644--- a/lucene/common-build.xml+++ b/lucene/common-build.xml@@ -576,6 +576,10 @@<property name="core-javadocs.uptodate" value="true"/></target>+ <target name="compile-codecs">+ <ant dir="${common.dir}/codecs" target="compile-core" inheritAll="false"/>+ </target>+<target name="compile-test-framework" unless="lucene.test.framework.compiled"><ant dir="${common.dir}/test-framework" target="compile-core" inheritAll="false"><propertyset refid="uptodate.and.compiled.properties"/>diff --git a/lucene/core/src/java/org/apache/lucene/codecs/PostingsWriterBase.java b/lucene/core/src/java/org/apache/lucene/codecs/PostingsWriterBase.javaindex c8e39b8be68..0702dc54ccd 100644--- a/lucene/core/src/java/org/apache/lucene/codecs/PostingsWriterBase.java+++ b/lucene/core/src/java/org/apache/lucene/codecs/PostingsWriterBase.java@@ -27,10 +27,10 @@ import org.apache.lucene.index.FieldInfo;* Extension of {@link PostingsConsumer} to support pluggable term dictionaries.* <p>* This class contains additional hooks to interact with the provided- * term dictionaries such as {@link BlockTreeTermsWriter} and- * {@link BlockTermsWriter}. If you want to re-use one of these existing- * implementations and are only interested in customizing the format of- * the postings list, extend this class instead.+ * term dictionaries such as {@link BlockTreeTermsWriter}. If you want+ * to re-use an existing implementation and are only interested in+ * customizing the format of the postings list, extend this class+ * instead.** @see PostingsReaderBase* @lucene.experimentaldiff --git a/lucene/core/src/resources/META-INF/services/org.apache.lucene.codecs.Codec b/lucene/core/src/resources/META-INF/services/org.apache.lucene.codecs.Codecindex eaa1d33c4e8..82c3e5c58f8 100644--- a/lucene/core/src/resources/META-INF/services/org.apache.lucene.codecs.Codec+++ b/lucene/core/src/resources/META-INF/services/org.apache.lucene.codecs.Codec@@ -14,5 +14,3 @@# limitations under the License.org.apache.lucene.codecs.lucene40.Lucene40Codec-org.apache.lucene.codecs.simpletext.SimpleTextCodec-org.apache.lucene.codecs.appending.AppendingCodecdiff --git a/lucene/core/src/resources/META-INF/services/org.apache.lucene.codecs.PostingsFormat b/lucene/core/src/resources/META-INF/services/org.apache.lucene.codecs.PostingsFormatindex 7bc89a047fe..112a1698302 100644--- a/lucene/core/src/resources/META-INF/services/org.apache.lucene.codecs.PostingsFormat+++ b/lucene/core/src/resources/META-INF/services/org.apache.lucene.codecs.PostingsFormat@@ -14,9 +14,3 @@# limitations under the License.org.apache.lucene.codecs.lucene40.Lucene40PostingsFormat-org.apache.lucene.codecs.pulsing.Pulsing40PostingsFormat-org.apache.lucene.codecs.simpletext.SimpleTextPostingsFormat-org.apache.lucene.codecs.memory.MemoryPostingsFormat-org.apache.lucene.codecs.bloom.BloomFilteringPostingsFormat-org.apache.lucene.codecs.memory.DirectPostingsFormat-org.apache.lucene.codecs.block.BlockPostingsFormatdiff --git a/lucene/module-build.xml b/lucene/module-build.xmlindex 233a0ef53a0..fd16a927e15 100644--- a/lucene/module-build.xml+++ b/lucene/module-build.xml@@ -40,6 +40,7 @@<path id="classpath" refid="base.classpath"/><path id="test.base.classpath">+ <pathelement location="${common.dir}/build/codecs/classes/java"/><pathelement location="${common.dir}/build/test-framework/classes/java"/><path refid="classpath"/><path refid="junit-path"/>@@ -357,6 +358,28 @@<property name="analyzers-morfologik-javadocs.uptodate" value="true"/></target>+ <property name="codecs.jar" value="${common.dir}/build/codecs/lucene-codecs-${version}.jar"/>+ <target name="check-codecs-uptodate" unless="codecs.uptodate">+ <module-uptodate name="codecs" jarfile="${codecs.jar}" property="codecs.uptodate"/>+ </target>+ <target name="jar-codecs" unless="codecs.uptodate" depends="check-codecs-uptodate">+ <ant dir="${common.dir}/codecs" target="jar-core" inheritall="false">+ <propertyset refid="uptodate.and.compiled.properties"/>+ </ant>+ <property name="codecs.uptodate" value="true"/>+ </target>++ <property name="codecs-javadoc.jar" value="${common.dir}/build/codecs/lucene-codecs-${version}-javadoc.jar"/>+ <target name="check-codecs-javadocs-uptodate" unless="codecs-javadocs.uptodate">+ <module-uptodate name="codecs" jarfile="${codecs-javadoc.jar}" property="codecs-javadocs.uptodate"/>+ </target>+ <target name="javadocs-codecs" unless="codecs-javadocs.uptodate" depends="check-codecs-javadocs-uptodate">+ <ant dir="${common.dir}/codecs" target="javadocs" inheritAll="false">+ <propertyset refid="uptodate.and.compiled.properties"/>+ </ant>+ <property name="codecs-javadocs.uptodate" value="true"/>+ </target>+<property name="grouping.jar" value="${common.dir}/build/grouping/lucene-grouping-${version}.jar"/><target name="check-grouping-uptodate" unless="grouping.uptodate"><module-uptodate name="grouping" jarfile="${grouping.jar}" property="grouping.uptodate"/>diff --git a/lucene/test-framework/build.xml b/lucene/test-framework/build.xmlindex ed624cbaa33..26c9641923d 100644--- a/lucene/test-framework/build.xml+++ b/lucene/test-framework/build.xml@@ -26,6 +26,7 @@<path id="classpath"><pathelement location="${common.dir}/build/core/classes/java"/>+ <pathelement location="${common.dir}/build/codecs/classes/java"/><path refid="junit-path"/><path refid="ant-path"/></path>@@ -35,7 +36,7 @@and *not* to depend on clover; clover already includes thetest-framework sources in each module's test instrumentation.-->- <target name="compile-core" depends="init,compile-lucene-core"+ <target name="compile-core" depends="init,compile-lucene-core,compile-codecs"description="Compiles test-framework classes"><compile srcdir="${src.dir}" destdir="${build.dir}/classes/java"><classpath refid="classpath"/>