diff --git a/dev-tools/maven/lucene/contrib/ant/pom.xml b/dev-tools/maven/lucene/contrib/ant/pom.xml
deleted file mode 100644
index 3410b4f773f..00000000000
--- a/dev-tools/maven/lucene/contrib/ant/pom.xml
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-ant
- jar
- Lucene Contrib Ant
- Ant task to create Lucene indexes
-
- lucene/contrib/ant
- ../../build/contrib/ant
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
-
-
- jtidy
- jtidy
-
-
- org.apache.ant
- ant
-
-
- org.apache.ant
- ant-junit
- test
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- src/resources
-
-
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
- org.codehaus.mojo
- appassembler-maven-plugin
-
- -Xmx128M
- flat
-
- windows
- unix
-
-
-
- org.apache.lucene.ant.HtmlDocument
- HtmlDocument
-
-
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/db/bdb-je/pom.xml b/dev-tools/maven/lucene/contrib/db/bdb-je/pom.xml
deleted file mode 100644
index 336ee7c2dc4..00000000000
--- a/dev-tools/maven/lucene/contrib/db/bdb-je/pom.xml
+++ /dev/null
@@ -1,76 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../../pom.xml
-
- org.apache.lucene
- lucene-bdb-je
- jar
- Lucene Contrib bdb-je
- Berkeley DB based Directory implementation
-
- lucene/contrib/db/bdb-je
- ../../../build/contrib/db/bdb-je
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- com.sleepycat
- berkeleydb-je
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/db/bdb/pom.xml b/dev-tools/maven/lucene/contrib/db/bdb/pom.xml
deleted file mode 100644
index 4ff4ec2c799..00000000000
--- a/dev-tools/maven/lucene/contrib/db/bdb/pom.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../../pom.xml
-
- org.apache.lucene
- lucene-bdb
- jar
- Lucene Contrib bdb
- Berkeley DB based Directory implementation
-
- lucene/contrib/db/bdb
- ../../../build/contrib/db/bdb
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- com.sleepycat
- berkeleydb
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
-
-
- true
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/db/pom.xml b/dev-tools/maven/lucene/contrib/db/pom.xml
deleted file mode 100644
index a267ff9139e..00000000000
--- a/dev-tools/maven/lucene/contrib/db/pom.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-db-aggregator
- Lucene Database aggregator POM
- pom
-
- bdb
- bdb-je
-
-
- ../../build/contrib/db/lucene-db-aggregator
-
-
- org.apache.maven.plugins
- maven-deploy-plugin
-
- true
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/demo/pom.xml b/dev-tools/maven/lucene/contrib/demo/pom.xml
deleted file mode 100644
index e2e61c46090..00000000000
--- a/dev-tools/maven/lucene/contrib/demo/pom.xml
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-demo
- war
- Lucene Demos
- This is the demo for Apache Lucene Java
-
- lucene/contrib/demo
- ../../build/contrib/demo
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
-
-
- javax.servlet
- servlet-api
- provided
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
- org.apache.maven.plugins
- maven-war-plugin
-
- src/jsp
- true
-
-
-
-
- org.codehaus.mojo
- appassembler-maven-plugin
-
- -Xmx128M
- flat
- ${build-directory}
-
- windows
- unix
-
-
-
- org.apache.lucene.demo.DeleteFiles
- DeleteFiles
-
-
- org.apache.lucene.demo.IndexFiles
- IndexFiles
-
-
- org.apache.lucene.demo.IndexHTML
- IndexHTML
-
-
- org.apache.lucene.demo.SearchFiles
- SearchFiles
-
-
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/highlighter/pom.xml b/dev-tools/maven/lucene/contrib/highlighter/pom.xml
deleted file mode 100644
index 7df7e4affca..00000000000
--- a/dev-tools/maven/lucene/contrib/highlighter/pom.xml
+++ /dev/null
@@ -1,84 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-highlighter
- jar
- Lucene Highlighter
-
- This is the highlighter for apache lucene java
-
-
- lucene/contrib/highlighter
- ../../build/contrib/highlighter
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-memory
- ${project.version}
-
-
- ${project.groupId}
- lucene-queries
- ${project.version}
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/instantiated/pom.xml b/dev-tools/maven/lucene/contrib/instantiated/pom.xml
deleted file mode 100644
index f40c5544d16..00000000000
--- a/dev-tools/maven/lucene/contrib/instantiated/pom.xml
+++ /dev/null
@@ -1,72 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-instantiated
- jar
- Lucene InstantiatedIndex
- InstantiatedIndex, alternative RAM store for small corpora.
-
- lucene/contrib/instantiated
- ../../build/contrib/instantiated
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/lucli/pom.xml b/dev-tools/maven/lucene/contrib/lucli/pom.xml
deleted file mode 100644
index f6266f7caa2..00000000000
--- a/dev-tools/maven/lucene/contrib/lucli/pom.xml
+++ /dev/null
@@ -1,108 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-lucli
- jar
- Lucene Lucli
- Lucene Command Line Interface
-
- lucene/contrib/lucli
- ../../build/contrib/lucli
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
-
-
- jline
- jline
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
-
- true
-
-
-
- org.codehaus.mojo
- appassembler-maven-plugin
-
- -Xmx128M
- flat
-
- windows
- unix
-
-
-
- lucli.Lucli
- lucli
-
-
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/memory/pom.xml b/dev-tools/maven/lucene/contrib/memory/pom.xml
deleted file mode 100644
index 940fdf1b34e..00000000000
--- a/dev-tools/maven/lucene/contrib/memory/pom.xml
+++ /dev/null
@@ -1,74 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-memory
- jar
- Lucene Memory
-
- High-performance single-document index to compare against Query
-
-
- lucene/contrib/memory
- ../../build/contrib/memory
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/misc/pom.xml b/dev-tools/maven/lucene/contrib/misc/pom.xml
deleted file mode 100644
index 62bf4577e53..00000000000
--- a/dev-tools/maven/lucene/contrib/misc/pom.xml
+++ /dev/null
@@ -1,121 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-misc
- jar
- Lucene Miscellaneous
- Miscellaneous Lucene extensions
-
- lucene/contrib/misc
- ../../build/contrib/misc
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
- org.codehaus.mojo
- appassembler-maven-plugin
-
- -Xmx128M
- flat
-
- windows
- unix
-
-
-
- org.apache.lucene.index.FieldNormModifier
- FieldNormModifier
-
-
- org.apache.lucene.index.IndexSplitter
- IndexSplitter
-
-
- org.apache.lucene.index.MultiPassIndexSplitter
- MultiPassIndexSplitter
-
-
- org.apache.lucene.misc.GetTermInfo
- GetTermInfo
-
-
- org.apache.lucene.misc.HighFreqTerms
- HighFreqTerms
-
-
- org.apache.lucene.misc.IndexMergeTool
- IndexMergeTool
-
-
- org.apache.lucene.misc.LengthNormModifier
- LengthNormModifier
-
-
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/pom.xml b/dev-tools/maven/lucene/contrib/pom.xml
deleted file mode 100644
index 039b87d80a7..00000000000
--- a/dev-tools/maven/lucene/contrib/pom.xml
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../pom.xml
-
- org.apache.lucene
- lucene-contrib-aggregator
- Lucene Contrib aggregator POM
- pom
-
- ant
- db
- demo
- highlighter
- instantiated
- lucli
- memory
- misc
- queries
- queryparser
- spatial
- spellchecker
- swing
- wordnet
- xml-query-parser
-
-
- build/lucene-contrib-aggregator
-
-
- org.apache.maven.plugins
- maven-deploy-plugin
-
- true
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/queries/pom.xml b/dev-tools/maven/lucene/contrib/queries/pom.xml
deleted file mode 100644
index 4cef0b9fa3b..00000000000
--- a/dev-tools/maven/lucene/contrib/queries/pom.xml
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-queries
- jar
- Lucene Queries
-
- Queries - various query object exotica not in core
-
-
- lucene/contrib/queries
- ../../build/contrib/queries
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- jakarta-regexp
- jakarta-regexp
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/queryparser/pom.xml b/dev-tools/maven/lucene/contrib/queryparser/pom.xml
deleted file mode 100644
index 6f215fa962d..00000000000
--- a/dev-tools/maven/lucene/contrib/queryparser/pom.xml
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-queryparser
- jar
- Lucene Query Parser
-
- This is the Flexible Query Parser for apache lucene java
-
-
- lucene/contrib/queryparser
- ../../build/contrib/queryparser
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- src/resources
-
-
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/spatial/pom.xml b/dev-tools/maven/lucene/contrib/spatial/pom.xml
deleted file mode 100644
index 6bac5c10a8f..00000000000
--- a/dev-tools/maven/lucene/contrib/spatial/pom.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-spatial
- jar
- Lucene Spatial
- Spatial search package
-
- lucene/contrib/spatial
- ../../build/contrib/spatial
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-queries
- ${project.version}
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/spellchecker/pom.xml b/dev-tools/maven/lucene/contrib/spellchecker/pom.xml
deleted file mode 100644
index 5be1474a734..00000000000
--- a/dev-tools/maven/lucene/contrib/spellchecker/pom.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-spellchecker
- jar
- Lucene Spellchecker
- Spell Checker
-
- lucene/contrib/spellchecker
- ../../build/contrib/spellchecker
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/swing/pom.xml b/dev-tools/maven/lucene/contrib/swing/pom.xml
deleted file mode 100644
index 1f2f4e5e424..00000000000
--- a/dev-tools/maven/lucene/contrib/swing/pom.xml
+++ /dev/null
@@ -1,101 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-swing
- jar
- Lucene Swing
- Swing Models
-
- lucene/contrib/swing
- ../../build/contrib/swing
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
- org.codehaus.mojo
- appassembler-maven-plugin
-
- -Xmx128M
- flat
-
- windows
- unix
-
-
-
- org.apache.lucene.swing.models.ListSearcherSimulator
- ListSearchSimulator
-
-
- org.apache.lucene.swing.models.TableSearcherSimulator
- TableSearchSimulator
-
-
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/wordnet/pom.xml b/dev-tools/maven/lucene/contrib/wordnet/pom.xml
deleted file mode 100644
index d55557322b6..00000000000
--- a/dev-tools/maven/lucene/contrib/wordnet/pom.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-wordnet
- jar
- Lucene Wordnet
- WordNet
-
- lucene/contrib/wordnet
- ../../build/contrib/wordnet
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
- org.codehaus.mojo
- appassembler-maven-plugin
-
- -Xmx128M
- flat
-
- windows
- unix
-
-
-
- org.apache.lucene.wordnet.SynExpand
- SynExpand
-
-
- org.apache.lucene.wordnet.SynExpand
- SynExpand
-
-
- org.apache.lucene.wordnet.Syns2Index
- Syns2Index
-
-
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/contrib/xml-query-parser/pom.xml b/dev-tools/maven/lucene/contrib/xml-query-parser/pom.xml
deleted file mode 100644
index f4c9aea1dd7..00000000000
--- a/dev-tools/maven/lucene/contrib/xml-query-parser/pom.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.lucene
- lucene-xml-query-parser
- jar
- Lucene XML Query Parser
- XML query parser
-
- lucene/contrib/xml-query-parser
- ../../build/contrib/xml-query-parser
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-queries
- ${project.version}
-
-
- javax.servlet
- servlet-api
- provided
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
diff --git a/dev-tools/maven/lucene/pom.xml b/dev-tools/maven/lucene/pom.xml
deleted file mode 100644
index 42b7c546157..00000000000
--- a/dev-tools/maven/lucene/pom.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-solr-grandparent
- 4.0-SNAPSHOT
- ../pom.xml
-
- org.apache.lucene
- lucene-parent
- pom
- Lucene parent POM
- Lucene parent POM
-
- src
- contrib
-
-
- build/lucene-parent
-
-
diff --git a/dev-tools/maven/lucene/src/pom.xml b/dev-tools/maven/lucene/src/pom.xml
deleted file mode 100644
index 43c83e76750..00000000000
--- a/dev-tools/maven/lucene/src/pom.xml
+++ /dev/null
@@ -1,126 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../pom.xml
-
- org.apache.lucene
- lucene-core
- jar
- Lucene Core
- Apache Lucene Java Core
-
- lucene
- ../build
-
-
-
- junit
- junit
- test
-
-
- org.apache.ant
- ant
- test
-
-
- org.apache.ant
- ant-junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- java
- test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
- test-jar
-
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
-
- ${project.version}
-
-
-
-
- org.codehaus.mojo
- appassembler-maven-plugin
-
- -Xmx128M
- flat
-
- windows
- unix
-
-
-
- org.apache.lucene.index.CheckIndex
- CheckIndex
-
-
- org.apache.lucene.index.IndexReader
- IndexReader
-
-
- org.apache.lucene.store.LockStressTest
- LockStressTest
-
-
- org.apache.lucene.store.LockVerifyServer
- IndexReader
-
-
- org.apache.lucene.util.English
- English
-
-
-
-
-
-
-
diff --git a/dev-tools/maven/modules/analysis/common/pom.xml b/dev-tools/maven/modules/analysis/common/pom.xml
deleted file mode 100644
index 8977178b874..00000000000
--- a/dev-tools/maven/modules/analysis/common/pom.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../../lucene/pom.xml
-
- org.apache.lucene
- lucene-analyzers-common
- jar
- Lucene Common Analyzers
- Additional Analyzers
-
- modules/analysis/common
- ../build/common
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- src/resources
-
-
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
- test-jar
-
-
-
-
-
- org.codehaus.mojo
- appassembler-maven-plugin
-
- -Xmx128M
- flat
-
- windows
- unix
-
-
-
- org.apache.lucene.analysis.charfilter.HtmlStripCharFilter
- HtmlStripCharFilter
-
-
- org.apache.lucene.analysis.en.PorterStemmer
- EnglishPorterStemmer
-
-
- org.tartarus.snowball.TestApp
- SnowballTestApp
-
-
-
-
-
-
-
diff --git a/dev-tools/maven/modules/analysis/icu/pom.xml b/dev-tools/maven/modules/analysis/icu/pom.xml
deleted file mode 100644
index 1ce2183627e..00000000000
--- a/dev-tools/maven/modules/analysis/icu/pom.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../../lucene/pom.xml
-
- org.apache.lucene
- lucene-analyzers-icu
- jar
- Lucene ICU Analysis Components
-
- Provides integration with ICU (International Components for Unicode) for
- stronger Unicode and internationalization support.
-
-
- modules/analysis/icu
- ../build/icu
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
- test-jar
- test
-
-
- com.ibm.icu
- icu4j
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- src/resources
-
-
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
diff --git a/dev-tools/maven/modules/analysis/phonetic/pom.xml b/dev-tools/maven/modules/analysis/phonetic/pom.xml
deleted file mode 100644
index 665752e5300..00000000000
--- a/dev-tools/maven/modules/analysis/phonetic/pom.xml
+++ /dev/null
@@ -1,90 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../../lucene/pom.xml
-
- org.apache.lucene
- lucene-analyzers-phonetic
- jar
- Lucene Phonetic Filters
-
- Provides phonetic encoding via Commons Codec.
-
-
- modules/analysis/phonetic
- ../build/phonetic
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
- test-jar
- test
-
-
- commons-codec
- commons-codec
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
diff --git a/dev-tools/maven/modules/analysis/pom.xml b/dev-tools/maven/modules/analysis/pom.xml
deleted file mode 100644
index 7829ed61b77..00000000000
--- a/dev-tools/maven/modules/analysis/pom.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../lucene/pom.xml
-
- org.apache.lucene
- lucene-analysis-modules-aggregator
- Lucene Analysis Modules aggregator POM
- pom
-
- common
- icu
- phonetic
- smartcn
- stempel
-
-
- build/lucene-analysis-modules-aggregator
-
-
- org.apache.maven.plugins
- maven-deploy-plugin
-
- true
-
-
-
-
-
diff --git a/dev-tools/maven/modules/analysis/smartcn/pom.xml b/dev-tools/maven/modules/analysis/smartcn/pom.xml
deleted file mode 100644
index 10a1a013dea..00000000000
--- a/dev-tools/maven/modules/analysis/smartcn/pom.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../../lucene/pom.xml
-
- org.apache.lucene
- lucene-analyzers-smartcn
- jar
- Lucene Smart Chinese Analyzer
- Smart Chinese Analyzer
-
- modules/analysis/smartcn
- ../build/smartcn
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- src/resources
-
-
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
diff --git a/dev-tools/maven/modules/analysis/stempel/pom.xml b/dev-tools/maven/modules/analysis/stempel/pom.xml
deleted file mode 100644
index 19b6907e127..00000000000
--- a/dev-tools/maven/modules/analysis/stempel/pom.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../../lucene/pom.xml
-
- org.apache.lucene
- lucene-analyzers-stempel
- jar
- Lucene Stempel Analyzer
- Stempel Analyzer
-
- modules/analysis/stempel
- ../build/stempel
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- src/resources
-
-
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
diff --git a/dev-tools/maven/modules/benchmark/pom.xml b/dev-tools/maven/modules/benchmark/pom.xml
deleted file mode 100755
index e4b35e338c4..00000000000
--- a/dev-tools/maven/modules/benchmark/pom.xml
+++ /dev/null
@@ -1,157 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../../lucene/pom.xml
-
- org.apache.lucene
- lucene-benchmark
- jar
- Lucene Benchmark
- Lucene Benchmarking Module
-
- modules/benchmark
- build
-
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
-
-
- ${project.groupId}
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- lucene-analyzers-common
- ${project.version}
-
-
- ${project.groupId}
- lucene-demo
- ${project.version}
- classes
-
-
- ${project.groupId}
- lucene-highlighter
- ${project.version}
-
-
- ${project.groupId}
- lucene-memory
- ${project.version}
-
-
- commons-beanutils
- commons-beanutils
-
-
- commons-collections
- commons-collections
-
-
- org.apache.commons
- commons-compress
-
-
- commons-digester
- commons-digester
-
-
- commons-logging
- commons-logging
-
-
- xerces
- xercesImpl
-
-
- xml-apis
- xml-apis
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes/java
- ${build-directory}/classes/test
- src/java
- src/test
-
-
- ${project.build.testSourceDirectory}
-
- **/*.java
-
-
-
-
-
- org.codehaus.mojo
- appassembler-maven-plugin
-
- -Xmx128M
- flat
-
- windows
- unix
-
-
-
- org.apache.lucene.benchmark.byTask.Benchmark
- Benchmark
-
-
- org.apache.lucene.benchmark.quality.trec.QueryDriver
- QueryDriver
-
-
- org.apache.lucene.benchmark.quality.utils.QualityQueriesFinder
- QualityQueriesFinder
-
-
- org.apache.lucene.benchmark.utils.ExtractReuters
- ExtractReuters
-
-
- org.apache.lucene.benchmark.utils.ExtractWikipedia
- ExtractWikipedia
-
-
-
-
-
-
-
diff --git a/dev-tools/maven/modules/pom.xml b/dev-tools/maven/modules/pom.xml
deleted file mode 100644
index 1b60080c172..00000000000
--- a/dev-tools/maven/modules/pom.xml
+++ /dev/null
@@ -1,49 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-parent
- 4.0-SNAPSHOT
- ../lucene/pom.xml
-
- org.apache.lucene
- lucene-modules-aggregator
- Lucene Modules aggregator POM
- pom
-
- analysis
- benchmark
-
-
- build/lucene-modules-aggregator
-
-
- org.apache.maven.plugins
- maven-deploy-plugin
-
- true
-
-
-
-
-
diff --git a/dev-tools/maven/pom.xml b/dev-tools/maven/pom.xml
deleted file mode 100644
index c0c5ae7d812..00000000000
--- a/dev-tools/maven/pom.xml
+++ /dev/null
@@ -1,690 +0,0 @@
-
-
- 4.0.0
-
- org.apache
- apache
- 8
-
- org.apache.lucene
- lucene-solr-grandparent
- 4.0-SNAPSHOT
- pom
- Grandparent POM for Apache Lucene Java and Apache Solr
- Parent POM for Apache Lucene Java and Apache Solr
- http://lucene.apache.org/java
-
- lucene
- modules
- solr
-
-
- 4.0.0
- yyyy-MM-dd HH:mm:ss
- 1.5
-
-
- JIRA
- http://issues.apache.org/jira/browse/LUCENE
-
-
- Hudson
- http://lucene.zones.apache.org:8080/hudson/job/Lucene-Nightly/
-
-
-
- General List
- general-subscribe@lucene.apache.org
- general-unsubscribe@lucene.apache.org
-
- http://mail-archives.apache.org/mod_mbox/lucene-general/
-
-
-
- Java User List
- java-user-subscribe@lucene.apache.org
- java-user-unsubscribe@lucene.apache.org
-
- http://mail-archives.apache.org/mod_mbox/lucene-java-user/
-
-
-
- Java Developer List
- dev-subscribe@lucene.apache.org
- dev-unsubscribe@lucene.apache.org
- http://mail-archives.apache.org/mod_mbox/lucene-dev/
-
-
- Java Commits List
- commits-subscribe@lucene.apache.org
- commits-unsubscribe@lucene.apache.org
-
- http://mail-archives.apache.org/mod_mbox/lucene-java-commits/
-
-
-
- 2000
-
-
- scm:svn:http://svn.apache.org/repos/asf/lucene/dev/trunk/${module-directory}
-
-
- scm:svn:https://svn.apache.org/repos/asf/lucene/dev/trunk/${module-directory}
-
-
- http://svn.apache.org/viewvc/lucene/dev/trunk/${module-directory}
-
-
-
-
- Apache 2
- http://www.apache.org/licenses/LICENSE-2.0.txt
-
-
-
-
- carrot2.org
- Carrot2 Maven2 repository
- http://download.carrot2.org/maven2/
-
- never
-
-
-
- apache.snapshots
- Apache Snapshot Repository
- http://repository.apache.org/snapshots
-
- false
-
-
- never
-
-
-
-
-
-
- com.ibm.icu
- icu4j
- 4.6
-
-
- com.sleepycat
- berkeleydb
- 4.7.25
-
-
- com.sleepycat
- berkeleydb-je
- 3.3.93
-
-
- commons-beanutils
- commons-beanutils
- 1.7.0
-
-
- commons-codec
- commons-codec
- 1.4
-
-
- commons-collections
- commons-collections
- 3.2.1
-
-
- commons-digester
- commons-digester
- 1.7
-
-
- commons-fileupload
- commons-fileupload
- 1.2.1
-
-
- commons-io
- commons-io
- 1.4
-
-
- commons-httpclient
- commons-httpclient
- 3.1
-
-
- commons-lang
- commons-lang
- 2.4
-
-
- commons-logging
- commons-logging
- 1.1.1
-
-
- jakarta-regexp
- jakarta-regexp
- 1.4
-
-
- javax.activation
- activation
- 1.1
-
-
- javax.mail
- mail
- 1.4.1
-
-
- jline
- jline
- 0.9.1
-
-
- jtidy
- jtidy
- 4aug2000r7-dev
-
-
- junit
- junit
- 4.7
-
-
- org.apache.ant
- ant
- 1.7.1
-
-
- org.apache.ant
- ant-junit
- 1.7.1
-
-
- org.apache.commons
- commons-compress
- 1.1
-
-
- org.apache.geronimo.specs
- geronimo-stax-api_1.0_spec
- 1.0.1
-
-
- org.apache.solr
- solr-commons-csv
- ${project.version}
-
-
- org.apache.solr
- solr-noggit
- ${project.version}
-
-
- org.apache.tika
- tika-core
- 0.8
-
-
- org.apache.tika
- tika-parsers
- 0.8
-
-
- org.apache.velocity
- velocity
- 1.6.4
-
-
- org.apache.velocity
- velocity-tools
- 2.0
-
-
- org.apache.zookeeper
- zookeeper
- 3.3.1
-
-
- org.carrot2
- carrot2-core
- 3.4.2
-
-
- org.codehaus.woodstox
- wstx-asl
- 3.2.7
-
-
- org.easymock
- easymock
- 2.2
-
-
- org.mortbay.jetty
- jetty
- 6.1.26
-
-
- org.mortbay.jetty
- jetty-util
- 6.1.26
-
-
- org.mortbay.jetty
- jsp-2.1-glassfish
- 2.1.v20091210
-
-
- org.mortbay.jetty
- jsp-2.1-jetty
- 6.1.26
-
-
- org.mortbay.jetty
- jsp-api-2.1-glassfish
- 2.1.v20091210
-
-
- org.slf4j
- jcl-over-slf4j
- 1.5.5
-
-
- org.slf4j
- log4j-over-slf4j
- 1.5.5
-
-
- org.slf4j
- slf4j-api
- 1.5.5
-
-
- org.slf4j
- slf4j-jdk14
- 1.5.5
-
-
- xerces
- xercesImpl
- 2.10.0
-
-
- xml-apis
- xml-apis
- 2.10.0
-
-
- javax.servlet
- servlet-api
- 2.4
-
-
-
-
- lucene/build/lucene-parent
-
-
-
- org.apache.maven.plugins
- maven-antrun-plugin
- 1.6
-
-
- org.apache.maven.plugins
- maven-clean-plugin
- 2.4.1
-
-
- org.apache.maven.plugins
- maven-compiler-plugin
- 2.3.2
-
- ${java.compat.version}
- ${java.compat.version}
-
-
-
- org.apache.maven.plugins
- maven-deploy-plugin
- 2.5
-
-
- org.apache.maven.plugins
- maven-enforcer-plugin
- 1.0
-
-
- org.apache.maven.plugins
- maven-install-plugin
- 2.3.1
-
-
- org.apache.maven.plugins
- maven-jar-plugin
- 2.3.1
-
-
-
-
-
-
-
- ${project.groupId}
- ${project.groupId}
- ${project.name}
-
- ${base.specification.version}.${now.version}
- The Apache Software Foundation
-
- ${project.version} ${svn.revision} - ${user.name} - ${now.timestamp}
- The Apache Software Foundation
- ${java.compat.version}
- ${java.compat.version}
-
-
-
-
-
- org.apache.maven.plugins
- maven-resources-plugin
- 2.4.3
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
- 2.7.1
-
- plain
- ${project.build.testOutputDirectory}
-
- temp
- 1
- ${tests.codec}
- ${tests.directory}
- ${tests.iter}
- ${tests.locale}
- ${tests.luceneMatchVersion}
- ${tests.multiplier}
- ${tests.nightly}
- ${tests.seed}
- ${tests.timezone}
-
-
-
-
- org.apache.maven.plugins
- maven-war-plugin
- 2.1.1
-
-
-
-
-
-
-
- ${project.groupId}
- ${project.groupId}
- ${project.name}
-
- ${base.specification.version}.${now.version}
- The Apache Software Foundation
-
- ${project.version} ${svn.revision} - ${user.name} - ${now.timestamp}
- The Apache Software Foundation
- ${java.compat.version}
- ${java.compat.version}
-
-
-
-
-
- org.codehaus.mojo
- appassembler-maven-plugin
- 1.1
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
- 1.5
-
-
- org.codehaus.mojo
- buildnumber-maven-plugin
- 1.0-beta-4
-
-
- org.mortbay.jetty
- maven-jetty-plugin
- 6.1.26
-
-
- org.codehaus.gmaven
- gmaven-plugin
- 1.3
-
-
-
-
-
- org.codehaus.gmaven
- gmaven-plugin
-
-
- generate-timestamps
- validate
-
- execute
-
-
-
- project.properties['now.timestamp'] = "${maven.build.timestamp}"
- project.properties['now.version'] = ("${maven.build.timestamp}" =~ /[- :]/).replaceAll(".")
- project.properties['now.year'] = "${maven.build.timestamp}".substring(0, 4)
-
-
-
-
-
-
- org.codehaus.mojo
- buildnumber-maven-plugin
-
-
- validate
-
- create
-
-
-
-
- false
- false
- true
- svn.revision
-
-
-
- org.apache.maven.plugins
- maven-enforcer-plugin
-
-
- enforce-java-compat-version-and-maven-2.2.1
-
- enforce
-
-
-
-
- Java ${java.compat.version}+ is required.
- [${java.compat.version},)
-
-
- Maven 2.2.1+ is required.
- [2.2.1,)
-
-
-
-
-
-
-
-
-
-
-
- bootstrap
-
-
-
- org.apache.maven.plugins
- maven-antrun-plugin
-
-
- get-jars-and-poms
- install
-
- run
-
-
-
-
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-install-plugin
-
-
- install-icu4j
- install
-
- install-file
-
-
- com.ibm.icu
- icu4j
- 4.6
- jar
- modules/analysis/icu/lib/icu4j-4_6.jar
-
-
-
- install-xercesImpl
- install
-
- install-file
-
-
- xerces
- xercesImpl
- 2.10.0
- jar
- modules/benchmark/lib/xercesImpl-2.10.0.jar
-
-
-
- install-xml-apis
- install
-
- install-file
-
-
- xml-apis
- xml-apis
- 2.10.0
- jar
- modules/benchmark/lib/xml-apis-2.10.0.jar
-
-
-
- install-berkeleydb
- install
-
- install-file
-
-
- com.sleepycat
- berkeleydb
- 4.7.25
- jar
- lucene/contrib/db/bdb/lib/db-4.7.25.jar
-
-
-
- install-berkeleydb-je
- install
-
- install-file
-
-
- com.sleepycat
- berkeleydb-je
- 3.3.93
- jar
- lucene/contrib/db/bdb-je/lib/je-3.3.93.jar
-
-
-
- install-solr-commons-csv
- install
-
- install-file
-
-
- org.apache.solr
- solr-commons-csv
- ${project.version}
- jar
- solr/lib/commons-csv-1.0-SNAPSHOT-r966014.jar
-
-
-
- install-solr-noggit
- install
-
- install-file
-
-
- org.apache.solr
- solr-noggit
- ${project.version}
- jar
- solr/lib/apache-solr-noggit-r944541.jar
-
-
-
-
-
-
-
-
-
diff --git a/dev-tools/maven/solr/contrib/analysis-extras/pom.xml b/dev-tools/maven/solr/contrib/analysis-extras/pom.xml
deleted file mode 100644
index ce67bbaf22e..00000000000
--- a/dev-tools/maven/solr/contrib/analysis-extras/pom.xml
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
- 4.0.0
-
- org.apache.solr
- solr-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.solr
- solr-analysis-extras
- jar
- Apache Solr Analysis Extras
- Apache Solr Analysis Extras
-
- solr/contrib/analysis-extras
- build
- 4.0
-
-
-
- ${project.groupId}
- solr-core
- ${project.version}
-
-
- ${project.groupId}
- solr-core
- ${project.version}
- test-jar
- test
-
-
- org.apache.lucene
- lucene-analyzers-common
- ${project.version}
-
-
- org.apache.lucene
- lucene-analyzers-icu
- ${project.version}
-
-
- org.apache.lucene
- lucene-analyzers-smartcn
- ${project.version}
-
-
- org.apache.lucene
- lucene-analyzers-stempel
- ${project.version}
-
-
- org.apache.lucene
- lucene-core
- ${project.version}
-
-
- org.apache.lucene
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes
- ${build-directory}/test-classes
- src/java
- src/test
-
-
- test-files
-
-
- ../../src/test-files
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
-
- ../../../../testlogging.properties
-
-
-
-
-
-
diff --git a/dev-tools/maven/solr/contrib/clustering/pom.xml b/dev-tools/maven/solr/contrib/clustering/pom.xml
deleted file mode 100644
index 81266fd9cda..00000000000
--- a/dev-tools/maven/solr/contrib/clustering/pom.xml
+++ /dev/null
@@ -1,103 +0,0 @@
-
-
- 4.0.0
-
- org.apache.solr
- solr-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.solr
- solr-clustering
- jar
- Apache Solr Clustering
- Apache Solr Clustering
-
- solr/contrib/clustering
- build
- 4.0
-
-
-
- ${project.groupId}
- solr-core
- ${project.version}
-
-
- ${project.groupId}
- solr-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- solr-solrj
- ${project.version}
-
-
- org.apache.lucene
- lucene-analyzers-common
- ${project.version}
-
-
- org.apache.lucene
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- org.carrot2
- carrot2-core
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes
- ${build-directory}/test-classes
-
-
- src/test/resources
-
-
- ../../src/test-files
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
-
- ../../../../testlogging.properties
-
-
-
-
-
-
diff --git a/dev-tools/maven/solr/contrib/dataimporthandler/pom.xml b/dev-tools/maven/solr/contrib/dataimporthandler/pom.xml
deleted file mode 100644
index a90b1dec722..00000000000
--- a/dev-tools/maven/solr/contrib/dataimporthandler/pom.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-
-
- 4.0.0
-
- org.apache.solr
- solr-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.solr
- solr-dataimporthandler-aggregator
- pom
- Apache Solr DataImportHandler aggregator POM
- Apache Solr DataImportHandler aggregator POM
-
- src
- src/extras
-
-
- target/solr-dataimporthandler-aggregator
-
-
- org.apache.maven.plugins
- maven-deploy-plugin
-
- true
-
-
-
-
-
diff --git a/dev-tools/maven/solr/contrib/dataimporthandler/src/extras/pom.xml b/dev-tools/maven/solr/contrib/dataimporthandler/src/extras/pom.xml
deleted file mode 100644
index bae3817983f..00000000000
--- a/dev-tools/maven/solr/contrib/dataimporthandler/src/extras/pom.xml
+++ /dev/null
@@ -1,132 +0,0 @@
-
-
- 4.0.0
-
- org.apache.solr
- solr-parent
- 4.0-SNAPSHOT
- ../../../../pom.xml
-
- org.apache.solr
- solr-dataimporthandler-extras
- jar
- Apache Solr DataImportHandler Extras
- Apache Solr DataImportHandler Extras
-
- solr/contrib/dataimporthandler/src/extras
- ../../target/extras
- 4.0
-
-
-
- ${project.groupId}
- solr-core
- ${project.version}
-
-
- ${project.groupId}
- solr-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- solr-dataimporthandler
- ${project.version}
-
-
- ${project.groupId}
- solr-dataimporthandler
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- solr-solrj
- ${project.version}
-
-
- org.apache.lucene
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- commons-io
- commons-io
-
-
- javax.activation
- activation
-
-
- javax.mail
- mail
-
-
- org.apache.tika
- tika-parsers
-
-
- org.slf4j
- slf4j-api
-
-
- xerces
- xercesImpl
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/extras/classes
- ${build-directory}/extras/test-classes
- main/java
- test/java
-
-
- test/resources
-
-
- ../../../../src/test-files
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
-
- ../../../../../../testlogging.properties
-
-
-
-
-
-
diff --git a/dev-tools/maven/solr/contrib/dataimporthandler/src/pom.xml b/dev-tools/maven/solr/contrib/dataimporthandler/src/pom.xml
deleted file mode 100644
index 0745d2e5417..00000000000
--- a/dev-tools/maven/solr/contrib/dataimporthandler/src/pom.xml
+++ /dev/null
@@ -1,129 +0,0 @@
-
-
- 4.0.0
-
- org.apache.solr
- solr-parent
- 4.0-SNAPSHOT
- ../../../pom.xml
-
- org.apache.solr
- solr-dataimporthandler
- jar
- Apache Solr DataImportHandler
- Apache Solr DataImportHandler
-
- solr/contrib/dataimporthandler
- ../target
- 4.0
-
-
-
- ${project.groupId}
- solr-core
- ${project.version}
-
-
- ${project.groupId}
- solr-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- solr-solrj
- ${project.version}
-
-
- org.apache.lucene
- lucene-analyzers-common
- ${project.version}
-
-
- org.apache.lucene
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- org.apache.geronimo.specs
- geronimo-stax-api_1.0_spec
-
-
- commons-io
- commons-io
-
-
- org.slf4j
- slf4j-api
-
-
- junit
- junit
- test
-
-
- org.easymock
- easymock
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes
- ${build-directory}/test-classes
- main/java
- test/java
-
-
- test/resources
-
-
- ../../../src/test-files
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
- test-jar
-
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
-
- ../../../../../testlogging.properties
-
-
-
-
-
-
diff --git a/dev-tools/maven/solr/contrib/extraction/pom.xml b/dev-tools/maven/solr/contrib/extraction/pom.xml
deleted file mode 100644
index 75d1f2316c9..00000000000
--- a/dev-tools/maven/solr/contrib/extraction/pom.xml
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
- 4.0.0
-
- org.apache.solr
- solr-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.solr
- solr-cell
- jar
- Apache Solr Content Extraction Library
-
- Apache Solr Content Extraction Library integrates Apache Tika
- content extraction framework into Solr
-
-
- solr/contrib/extraction
- build
- 4.0
-
-
-
- ${project.groupId}
- solr-core
- ${project.version}
-
-
- ${project.groupId}
- solr-core
- ${project.version}
- test-jar
- test
-
-
- ${project.groupId}
- solr-solrj
- ${project.version}
-
-
- org.apache.lucene
- lucene-analyzers-common
- ${project.version}
-
-
- org.apache.lucene
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- com.ibm.icu
- icu4j
-
-
- org.apache.tika
- tika-parsers
-
-
- xerces
- xercesImpl
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}/classes
- ${build-directory}/test-classes
-
-
- src/test/resources
-
-
- ../../src/test-files
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
-
- ../../../../testlogging.properties
-
-
-
-
-
-
diff --git a/dev-tools/maven/solr/contrib/pom.xml b/dev-tools/maven/solr/contrib/pom.xml
deleted file mode 100644
index fff3350f474..00000000000
--- a/dev-tools/maven/solr/contrib/pom.xml
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
- 4.0.0
-
- org.apache.solr
- solr-parent
- 4.0-SNAPSHOT
- ../pom.xml
-
- org.apache.solr
- solr-contrib-aggregator
- Apache Solr Contrib aggregator POM
- pom
-
- analysis-extras
- clustering
- dataimporthandler
- extraction
-
-
- ../build/solr-contrib-aggregator
-
-
- org.apache.maven.plugins
- maven-deploy-plugin
-
- true
-
-
-
-
-
diff --git a/dev-tools/maven/solr/pom.xml b/dev-tools/maven/solr/pom.xml
deleted file mode 100644
index 465af72a1a0..00000000000
--- a/dev-tools/maven/solr/pom.xml
+++ /dev/null
@@ -1,94 +0,0 @@
-
-
- 4.0.0
-
- org.apache.lucene
- lucene-solr-grandparent
- 4.0-SNAPSHOT
- ../pom.xml
-
- org.apache.solr
- solr-parent
- pom
- Apache Solr parent POM
- Apache Solr parent POM
-
- src
- src/solrj
- src/webapp
- contrib
-
-
- 1.6
-
-
- JIRA
- http://issues.apache.org/jira/browse/SOLR
-
-
- Hudson
-
- http://lucene.zones.apache.org:8080/hudson/job/Solr-Nightly/
-
-
-
-
- Solr User List
- solr-user-subscribe@lucene.apache.org
- solr-user-unsubscribe@lucene.apache.org
-
- http://mail-archives.apache.org/mod_mbox/solr-user/
-
-
-
- Java Developer List
- dev-subscribe@lucene.apache.org
- dev-unsubscribe@lucene.apache.org
- http://mail-archives.apache.org/mod_mbox/lucene-dev/
-
-
- Java Commits List
- commits-subscribe@lucene.apache.org
- commits-unsubscribe@lucene.apache.org
-
- http://mail-archives.apache.org/mod_mbox/lucene-java-commits/
-
-
-
- 2006
-
- build/solr-parent
-
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
-
-
- ${project.name} ${project.version} API (${now.version})
- ${project.name} ${project.version} API (${now.version})
-
-
-
-
-
-
diff --git a/dev-tools/maven/solr/src/pom.xml b/dev-tools/maven/solr/src/pom.xml
deleted file mode 100644
index 0014b38bfd1..00000000000
--- a/dev-tools/maven/solr/src/pom.xml
+++ /dev/null
@@ -1,252 +0,0 @@
-
-
- 4.0.0
-
- org.apache.solr
- solr-parent
- 4.0-SNAPSHOT
- ../pom.xml
-
- org.apache.solr
- solr-core
- jar
- Apache Solr Core
- Apache Solr Core
-
- solr
- ../build
- 4.0
-
-
-
- ${project.groupId}
- solr-solrj
- ${project.version}
-
-
- ${project.groupId}
- solr-noggit
-
-
- org.apache.lucene
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- org.apache.lucene
- lucene-analyzers-common
- ${project.version}
-
-
- org.apache.lucene
- lucene-analyzers-phonetic
- ${project.version}
-
-
- org.apache.lucene
- lucene-highlighter
- ${project.version}
-
-
- org.apache.lucene
- lucene-memory
- ${project.version}
-
-
- org.apache.lucene
- lucene-misc
- ${project.version}
-
-
- org.apache.lucene
- lucene-queries
- ${project.version}
-
-
- org.apache.lucene
- lucene-spatial
- ${project.version}
-
-
- org.apache.lucene
- lucene-spellchecker
- ${project.version}
-
-
- org.apache.solr
- solr-commons-csv
-
-
- org.apache.geronimo.specs
- geronimo-stax-api_1.0_spec
-
-
- commons-codec
- commons-codec
-
-
- commons-fileupload
- commons-fileupload
-
-
- commons-httpclient
- commons-httpclient
-
-
- commons-io
- commons-io
-
-
- commons-lang
- commons-lang
-
-
- org.apache.velocity
- velocity
-
-
- org.apache.velocity
- velocity-tools
-
-
- org.mortbay.jetty
- jetty
-
-
- org.mortbay.jetty
- jetty-util
-
-
- org.mortbay.jetty
- jsp-2.1-jetty
- provided
-
-
- org.slf4j
- slf4j-api
-
-
- org.slf4j
- slf4j-jdk14
-
-
- javax.servlet
- servlet-api
- provided
-
-
- junit
- junit
- test
-
-
- org.easymock
- easymock
- test
-
-
-
- ${build-directory}
- ${build-directory}/solr
- ${build-directory}/tests
- java
- test
-
-
- test-files
-
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
-
-
- add-source
- generate-sources
-
- add-source
-
-
-
- webapp/src
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
-
-
-
- test-jar
-
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
-
- ../../../testlogging.properties
-
-
-
-
- org.codehaus.mojo
- appassembler-maven-plugin
-
- -Xmx128M
- flat
-
- windows
- unix
-
-
-
- org.apache.solr.client.solrj.embedded.JettySolrRunner
- JettySolrRunner
-
-
- org.apache.solr.util.BitSetPerf
- BitSetPerf
- -Xms128m -Xbatch
-
-
- org.apache.solr.util.SimplePostTool
- SimplePostTool
-
-
- org.apache.solr.util.SuggestMissingFactories
- SuggestMissingFactories
-
-
-
-
-
-
-
diff --git a/dev-tools/maven/solr/src/solrj/pom.xml b/dev-tools/maven/solr/src/solrj/pom.xml
deleted file mode 100644
index 262793a6dbe..00000000000
--- a/dev-tools/maven/solr/src/solrj/pom.xml
+++ /dev/null
@@ -1,135 +0,0 @@
-
-
- 4.0.0
-
- org.apache.solr
- solr-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.solr
- solr-solrj
- jar
- Apache Solr Solrj
- Apache Solr Solrj
-
- solr/src/solrj
- ../../build/solrj
- 4.0
-
-
-
- org.apache.lucene
- lucene-core
- ${project.version}
-
-
- org.apache.lucene
- lucene-core
- ${project.version}
- test-jar
- test
-
-
- org.apache.lucene
- lucene-analyzers-common
- ${project.version}
- test
-
-
- org.apache.geronimo.specs
- geronimo-stax-api_1.0_spec
-
-
- org.apache.zookeeper
- zookeeper
-
-
- javax.jms
- jms
-
-
- com.sun.jmx
- jmxri
-
-
- com.sun.jdmk
- jmxtools
-
-
-
-
- commons-httpclient
- commons-httpclient
-
-
- commons-io
- commons-io
-
-
- org.slf4j
- slf4j-api
-
-
- junit
- junit
- test
-
-
-
- ${build-directory}
- ${build-directory}
- .
-
-
-
- org.codehaus.mojo
- build-helper-maven-plugin
-
-
- add-source
- generate-sources
-
- add-source
-
-
-
- ../common
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-surefire-plugin
-
-
-
-
-
- true
-
-
-
-
-
diff --git a/dev-tools/maven/solr/src/webapp/pom.xml b/dev-tools/maven/solr/src/webapp/pom.xml
deleted file mode 100644
index af914c5a94a..00000000000
--- a/dev-tools/maven/solr/src/webapp/pom.xml
+++ /dev/null
@@ -1,191 +0,0 @@
-
-
- 4.0.0
-
- org.apache.solr
- solr-parent
- 4.0-SNAPSHOT
- ../../pom.xml
-
- org.apache.solr
- solr
- war
- Apache Solr Search Server
- Apache Solr Search Server
-
- solr/src/webapp
- ../../build/web
-
-
-
- ${project.groupId}
- solr-core
- ${project.version}
-
-
- commons-chain
- commons-chain
-
-
- commons-digester
- commons-digester
-
-
- commons-logging
- commons-logging
-
-
- commons-validator
- commons-validator
-
-
- jakarta-regexp
- jakarta-regexp
-
-
- dom4j
- dom4j
-
-
- log4j
- log4j
-
-
- javax.activation
- activation
-
-
- javax.mail
- mail
-
-
- jline
- jline
-
-
- org.apache.struts
- struts-core
-
-
- org.apache.struts
- struts-taglib
-
-
- org.apache.struts
- struts-tiles
-
-
- org.mortbay.jetty
- jetty
-
-
- org.mortbay.jetty
- jetty-util
-
-
- oro
- oro
-
-
- sslext
- sslext
-
-
- xml-apis
- xml-apis
-
-
-
-
- ${project.groupId}
- solr-dataimporthandler
- ${project.version}
-
-
- org.codehaus.woodstox
- wstx-asl
-
-
- org.slf4j
- jcl-over-slf4j
-
-
- org.slf4j
- log4j-over-slf4j
-
-
-
- ${build-directory}
-
-
- org.apache.maven.plugins
- maven-javadoc-plugin
-
- true
-
-
-
- org.apache.maven.plugins
- maven-source-plugin
-
-
-
-
-
- false
-
-
-
- org.apache.maven.plugins
- maven-war-plugin
-
- web
- web/WEB-INF/web.xml
-
-
- ../../contrib/dataimporthandler/src/main/webapp
-
-
-
-
-
- org.mortbay.jetty
- maven-jetty-plugin
-
- 10
-
-
- 8080
- 60000
-
-
-
- /
-
- web,../../contrib/dataimporthandler/src/main/webapp
-
-
-
-
-
-
-
diff --git a/lucene/src/java/org/apache/lucene/index/codecs/TermState.java b/lucene/src/java/org/apache/lucene/index/codecs/TermState.java
deleted file mode 100644
index df437f54dd8..00000000000
--- a/lucene/src/java/org/apache/lucene/index/codecs/TermState.java
+++ /dev/null
@@ -1,56 +0,0 @@
-package org.apache.lucene.index.codecs;
-
-/**
- * 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.
- */
-
-import org.apache.lucene.index.DocsEnum; // for javadocs
-
-import org.apache.lucene.index.codecs.standard.StandardPostingsReader; // javadocs
-
-/**
- * Holds all state required for {@link StandardPostingsReader}
- * to produce a {@link DocsEnum} without re-seeking the
- * terms dict.
- * @lucene.experimental
- */
-
-public class TermState implements Cloneable {
- public long ord; // ord for this term
- public long filePointer; // fp into the terms dict primary file (_X.tis)
- public int docFreq; // how many docs have this term
-
- public void copy(TermState other) {
- ord = other.ord;
- filePointer = other.filePointer;
- docFreq = other.docFreq;
- }
-
- @Override
- public Object clone() {
- try {
- return super.clone();
- } catch (CloneNotSupportedException cnse) {
- // should not happen
- throw new RuntimeException(cnse);
- }
- }
-
- @Override
- public String toString() {
- return "tis.fp=" + filePointer + " docFreq=" + docFreq + " ord=" + ord;
- }
-}
diff --git a/lucene/src/test-framework/org/apache/lucene/analysis/MockTokenFilter.java b/lucene/src/test-framework/org/apache/lucene/analysis/MockTokenFilter.java
index f16165bab39..97863a40bd3 100644
--- a/lucene/src/test-framework/org/apache/lucene/analysis/MockTokenFilter.java
+++ b/lucene/src/test-framework/org/apache/lucene/analysis/MockTokenFilter.java
@@ -60,6 +60,13 @@ public final class MockTokenFilter extends TokenFilter {
private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class);
private final PositionIncrementAttribute posIncrAtt = addAttribute(PositionIncrementAttribute.class);
+ /**
+ * Create a new MockTokenFilter.
+ *
+ * @param input TokenStream to filter
+ * @param filter DFA representing the terms that should be removed.
+ * @param enablePositionIncrements true if the removal should accumulate position increments.
+ */
public MockTokenFilter(TokenStream input, CharacterRunAutomaton filter, boolean enablePositionIncrements) {
super(input);
this.filter = filter;
diff --git a/lucene/src/test-framework/org/apache/lucene/analysis/MockTokenizer.java b/lucene/src/test-framework/org/apache/lucene/analysis/MockTokenizer.java
index 017f828931f..6e4f30b3968 100644
--- a/lucene/src/test-framework/org/apache/lucene/analysis/MockTokenizer.java
+++ b/lucene/src/test-framework/org/apache/lucene/analysis/MockTokenizer.java
@@ -20,7 +20,7 @@ package org.apache.lucene.analysis;
import java.io.IOException;
import java.io.Reader;
-import org.apache.lucene.util.Version;
+import org.apache.lucene.util.LuceneTestCase;
import org.apache.lucene.util.automaton.CharacterRunAutomaton;
import org.apache.lucene.util.automaton.RegExp;
@@ -46,14 +46,14 @@ public class MockTokenizer extends CharTokenizer {
private int state;
public MockTokenizer(AttributeFactory factory, Reader input, CharacterRunAutomaton runAutomaton, boolean lowerCase) {
- super(Version.LUCENE_CURRENT, factory, input);
+ super(LuceneTestCase.TEST_VERSION_CURRENT, factory, input);
this.runAutomaton = runAutomaton;
this.lowerCase = lowerCase;
this.state = runAutomaton.getInitialState();
}
public MockTokenizer(Reader input, CharacterRunAutomaton runAutomaton, boolean lowerCase) {
- super(Version.LUCENE_CURRENT, input);
+ super(LuceneTestCase.TEST_VERSION_CURRENT, input);
this.runAutomaton = runAutomaton;
this.lowerCase = lowerCase;
this.state = runAutomaton.getInitialState();
diff --git a/lucene/src/test-framework/org/apache/lucene/index/RandomIndexWriter.java b/lucene/src/test-framework/org/apache/lucene/index/RandomIndexWriter.java
index eb8bae75937..0712e4104c4 100644
--- a/lucene/src/test-framework/org/apache/lucene/index/RandomIndexWriter.java
+++ b/lucene/src/test-framework/org/apache/lucene/index/RandomIndexWriter.java
@@ -93,6 +93,10 @@ public class RandomIndexWriter implements Closeable {
}
}
+ /**
+ * Adds a Document.
+ * @see IndexWriter#addDocument(Document)
+ */
public void addDocument(Document doc) throws IOException {
w.addDocument(doc);
maybeCommit();
@@ -146,7 +150,6 @@ public class RandomIndexWriter implements Closeable {
}
public IndexReader getReader() throws IOException {
-
return getReader(true);
}
@@ -171,11 +174,11 @@ public class RandomIndexWriter implements Closeable {
// If we are writing with PreFlexRW, force a full
// IndexReader.open so terms are sorted in codepoint
// order during searching:
- if (!w.codecs.getDefaultFieldCodec().equals("PreFlex") && r.nextBoolean()) {
+ if (!applyDeletions || !w.codecs.getDefaultFieldCodec().equals("PreFlex") && r.nextBoolean()) {
if (LuceneTestCase.VERBOSE) {
System.out.println("RIW.getReader: use NRT reader");
}
- return w.getReader();
+ return w.getReader(applyDeletions);
} else {
if (LuceneTestCase.VERBOSE) {
System.out.println("RIW.getReader: open new reader");
@@ -185,6 +188,10 @@ public class RandomIndexWriter implements Closeable {
}
}
+ /**
+ * Close this writer.
+ * @see IndexWriter#close()
+ */
public void close() throws IOException {
// if someone isn't using getReader() API, we want to be sure to
// maybeOptimize since presumably they might open a reader on the dir.
@@ -194,6 +201,13 @@ public class RandomIndexWriter implements Closeable {
w.close();
}
+ /**
+ * Forces an optimize.
+ *
+ * NOTE: this should be avoided in tests unless absolutely necessary,
+ * as it will result in less test coverage.
+ * @see IndexWriter#optimize()
+ */
public void optimize() throws IOException {
w.optimize();
}
diff --git a/lucene/src/test-framework/org/apache/lucene/store/MockDirectoryWrapper.java b/lucene/src/test-framework/org/apache/lucene/store/MockDirectoryWrapper.java
index 5265545ee4e..17b62a6f94d 100644
--- a/lucene/src/test-framework/org/apache/lucene/store/MockDirectoryWrapper.java
+++ b/lucene/src/test-framework/org/apache/lucene/store/MockDirectoryWrapper.java
@@ -40,6 +40,18 @@ import org.apache.lucene.util._TestUtil;
/**
* This is a Directory Wrapper that adds methods
* intended to be used only by unit tests.
+ * It also adds a number of features useful for testing:
+ *
+ * Instances created by {@link LuceneTestCase#newDirectory()} are tracked
+ * to ensure they are closed by the test.
+ * When a MockDirectoryWrapper is closed, it will throw an exception if
+ * it has any open files against it (with a stacktrace indicating where
+ * they were opened from).
+ * When a MockDirectoryWrapper is closed, it runs CheckIndex to test if
+ * the index was corrupted.
+ * MockDirectoryWrapper simulates some "features" of Windows, such as
+ * refusing to write/delete to open files.
+ *
*/
public class MockDirectoryWrapper extends Directory {
diff --git a/lucene/src/test-framework/org/apache/lucene/util/LineFileDocs.java b/lucene/src/test-framework/org/apache/lucene/util/LineFileDocs.java
index 86efb7ebd8b..a4cd41f05c9 100644
--- a/lucene/src/test-framework/org/apache/lucene/util/LineFileDocs.java
+++ b/lucene/src/test-framework/org/apache/lucene/util/LineFileDocs.java
@@ -31,9 +31,9 @@ import java.util.Random;
import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
-// Minimal port of contrib/benchmark's LneDocSource +
-// DocMaker, so tests can enum docs from a line file created
-// by contrib/benchmark's WriteLineDoc task
+/** Minimal port of contrib/benchmark's LneDocSource +
+ * DocMaker, so tests can enum docs from a line file created
+ * by contrib/benchmark's WriteLineDoc task */
public class LineFileDocs implements Closeable {
private BufferedReader reader;
@@ -41,8 +41,8 @@ public class LineFileDocs implements Closeable {
private final AtomicInteger id = new AtomicInteger();
private final String path;
- // If forever is true, we rewind the file at EOF (repeat
- // the docs over and over)
+ /** If forever is true, we rewind the file at EOF (repeat
+ * the docs over and over) */
public LineFileDocs(Random random, String path) throws IOException {
this.path = path;
open(random);
@@ -136,7 +136,7 @@ public class LineFileDocs implements Closeable {
private final ThreadLocal threadDocs = new ThreadLocal();
- // Document instance is re-used per-thread
+ /** Note: Document instance is re-used per-thread */
public Document nextDoc() throws IOException {
String line;
synchronized(this) {
diff --git a/lucene/src/test-framework/org/apache/lucene/util/LuceneTestCase.java b/lucene/src/test-framework/org/apache/lucene/util/LuceneTestCase.java
index e83e05983c2..02274fce82d 100644
--- a/lucene/src/test-framework/org/apache/lucene/util/LuceneTestCase.java
+++ b/lucene/src/test-framework/org/apache/lucene/util/LuceneTestCase.java
@@ -864,6 +864,10 @@ public abstract class LuceneTestCase extends Assert {
return newDirectory(random);
}
+ /**
+ * Returns a new Directory instance, using the specified random.
+ * See {@link #newDirectory()} for more information.
+ */
public static MockDirectoryWrapper newDirectory(Random r) throws IOException {
Directory impl = newDirectoryImpl(r, TEST_DIRECTORY);
MockDirectoryWrapper dir = new MockDirectoryWrapper(r, impl);
@@ -918,6 +922,11 @@ public abstract class LuceneTestCase extends Assert {
}
}
+ /**
+ * Returns a new Directory instance, using the specified random
+ * with contents copied from the provided directory. See
+ * {@link #newDirectory()} for more information.
+ */
public static MockDirectoryWrapper newDirectory(Random r, Directory d) throws IOException {
Directory impl = newDirectoryImpl(r, TEST_DIRECTORY);
for (String file : d.listAll()) {
@@ -1083,7 +1092,8 @@ public abstract class LuceneTestCase extends Assert {
}
}
- /** create a new searcher over the reader */
+ /** create a new searcher over the reader.
+ * This searcher might randomly use threads. */
public static IndexSearcher newSearcher(IndexReader r) throws IOException {
if (random.nextBoolean()) {
return new IndexSearcher(r);
diff --git a/lucene/src/test-framework/org/apache/lucene/util/automaton/AutomatonTestUtil.java b/lucene/src/test-framework/org/apache/lucene/util/automaton/AutomatonTestUtil.java
index 1a557b943d7..ca943fff2ba 100644
--- a/lucene/src/test-framework/org/apache/lucene/util/automaton/AutomatonTestUtil.java
+++ b/lucene/src/test-framework/org/apache/lucene/util/automaton/AutomatonTestUtil.java
@@ -80,9 +80,9 @@ public class AutomatonTestUtil {
return new String(buffer, 0, end);
}
- // picks a random int code point, avoiding surrogates;
- // throws IllegalArgumentException if this transition only
- // accepts surrogates
+ /** picks a random int code point, avoiding surrogates;
+ * throws IllegalArgumentException if this transition only
+ * accepts surrogates */
private static int getRandomCodePoint(final Random r, final Transition t) {
final int code;
if (t.max < UnicodeUtil.UNI_SUR_HIGH_START ||
diff --git a/solr/src/test-files/solr/conf/solrconfig-repeater.xml b/solr/src/test-files/solr/conf/solrconfig-repeater.xml
index 7b5935d2859..e29db07b638 100644
--- a/solr/src/test-files/solr/conf/solrconfig-repeater.xml
+++ b/solr/src/test-files/solr/conf/solrconfig-repeater.xml
@@ -17,7 +17,7 @@
limitations under the License.
-->
-
@@ -25,7 +25,7 @@
${tests.luceneMatchVersion:LUCENE_CURRENT}
- ${solr.data.dir:./solr/data}
+ ${solr.data.dir:}
false