diff --git a/dev-tools/idea/.idea/ant.xml b/dev-tools/idea/.idea/ant.xml
index 53727458351..52df3505814 100644
--- a/dev-tools/idea/.idea/ant.xml
+++ b/dev-tools/idea/.idea/ant.xml
@@ -21,6 +21,7 @@
+
diff --git a/dev-tools/idea/.idea/libraries/Lucene_tools_library.xml b/dev-tools/idea/.idea/libraries/Lucene_tools_library.xml
deleted file mode 100644
index 8fb973ec35b..00000000000
--- a/dev-tools/idea/.idea/libraries/Lucene_tools_library.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/dev-tools/idea/.idea/libraries/Solr_core_library.xml b/dev-tools/idea/.idea/libraries/Solr_core_library.xml
new file mode 100644
index 00000000000..bf6c10aa3db
--- /dev/null
+++ b/dev-tools/idea/.idea/libraries/Solr_core_library.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/dev-tools/idea/.idea/libraries/Solr_library.xml b/dev-tools/idea/.idea/libraries/Solr_library.xml
deleted file mode 100644
index de17c4d6272..00000000000
--- a/dev-tools/idea/.idea/libraries/Solr_library.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/dev-tools/idea/.idea/libraries/Solrj_library.xml b/dev-tools/idea/.idea/libraries/Solrj_library.xml
new file mode 100644
index 00000000000..c067eaef357
--- /dev/null
+++ b/dev-tools/idea/.idea/libraries/Solrj_library.xml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/dev-tools/idea/.idea/modules.xml b/dev-tools/idea/.idea/modules.xml
index 14e7a0b2ca2..c828188cd39 100644
--- a/dev-tools/idea/.idea/modules.xml
+++ b/dev-tools/idea/.idea/modules.xml
@@ -3,13 +3,11 @@
-
-
-
-
-
-
-
+
+
+
+
+
@@ -19,22 +17,40 @@
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
-
+
+
+
+
+
diff --git a/dev-tools/idea/.idea/workspace.xml b/dev-tools/idea/.idea/workspace.xml
index d2be0796c21..de82de249dc 100644
--- a/dev-tools/idea/.idea/workspace.xml
+++ b/dev-tools/idea/.idea/workspace.xml
@@ -1,14 +1,14 @@
-
+
-
-
+
+
-
-
+
+
@@ -79,7 +79,7 @@
-
+
@@ -162,25 +162,32 @@
-
-
+
+
-
-
+
+
+
+
+
+
+
+
+
-
+
-
+
@@ -215,7 +222,7 @@
-
+
@@ -225,8 +232,8 @@
-
-
+
+
@@ -236,26 +243,28 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/lucene/analysis/common/analysis-common.iml b/dev-tools/idea/lucene/analysis/common/analysis-common.iml
index 54cb3006861..7c408188e9d 100644
--- a/dev-tools/idea/lucene/analysis/common/analysis-common.iml
+++ b/dev-tools/idea/lucene/analysis/common/analysis-common.iml
@@ -13,6 +13,7 @@
-
+
+
diff --git a/dev-tools/idea/lucene/analysis/icu/icu.iml b/dev-tools/idea/lucene/analysis/icu/icu.iml
index 7b6c54d11b9..3f218dadd7e 100644
--- a/dev-tools/idea/lucene/analysis/icu/icu.iml
+++ b/dev-tools/idea/lucene/analysis/icu/icu.iml
@@ -23,7 +23,8 @@
+
-
+
diff --git a/dev-tools/idea/lucene/analysis/kuromoji/kuromoji.iml b/dev-tools/idea/lucene/analysis/kuromoji/kuromoji.iml
index bdff65d0628..3485630b9f1 100644
--- a/dev-tools/idea/lucene/analysis/kuromoji/kuromoji.iml
+++ b/dev-tools/idea/lucene/analysis/kuromoji/kuromoji.iml
@@ -15,7 +15,8 @@
+
-
+
diff --git a/dev-tools/idea/lucene/analysis/morfologik/morfologik.iml b/dev-tools/idea/lucene/analysis/morfologik/morfologik.iml
index da6550844e4..626233b4849 100644
--- a/dev-tools/idea/lucene/analysis/morfologik/morfologik.iml
+++ b/dev-tools/idea/lucene/analysis/morfologik/morfologik.iml
@@ -22,7 +22,8 @@
+
-
+
diff --git a/dev-tools/idea/lucene/analysis/phonetic/phonetic.iml b/dev-tools/idea/lucene/analysis/phonetic/phonetic.iml
index 67c1670d3ad..c72563dc3af 100644
--- a/dev-tools/idea/lucene/analysis/phonetic/phonetic.iml
+++ b/dev-tools/idea/lucene/analysis/phonetic/phonetic.iml
@@ -22,7 +22,8 @@
+
-
+
diff --git a/dev-tools/idea/lucene/analysis/smartcn/smartcn.iml b/dev-tools/idea/lucene/analysis/smartcn/smartcn.iml
index d9e440a8741..ed9d374fe27 100644
--- a/dev-tools/idea/lucene/analysis/smartcn/smartcn.iml
+++ b/dev-tools/idea/lucene/analysis/smartcn/smartcn.iml
@@ -12,7 +12,8 @@
+
-
+
diff --git a/dev-tools/idea/lucene/analysis/stempel/stempel.iml b/dev-tools/idea/lucene/analysis/stempel/stempel.iml
index 3c9f6a8e1c1..15f9340559d 100644
--- a/dev-tools/idea/lucene/analysis/stempel/stempel.iml
+++ b/dev-tools/idea/lucene/analysis/stempel/stempel.iml
@@ -12,7 +12,8 @@
+
-
+
diff --git a/dev-tools/idea/lucene/analysis/uima/analysis-uima.iml b/dev-tools/idea/lucene/analysis/uima/analysis-uima.iml
index d62da6d2a92..68127dbd3b3 100644
--- a/dev-tools/idea/lucene/analysis/uima/analysis-uima.iml
+++ b/dev-tools/idea/lucene/analysis/uima/analysis-uima.iml
@@ -23,7 +23,8 @@
+
-
+
diff --git a/dev-tools/idea/lucene/benchmark/benchmark.iml b/dev-tools/idea/lucene/benchmark/benchmark.iml
index 58f14bbdd79..6463486a928 100644
--- a/dev-tools/idea/lucene/benchmark/benchmark.iml
+++ b/dev-tools/idea/lucene/benchmark/benchmark.iml
@@ -24,13 +24,14 @@
+
-
+
diff --git a/dev-tools/idea/lucene/codecs/src/java/codecs.iml b/dev-tools/idea/lucene/codecs/src/java/codecs.iml
new file mode 100644
index 00000000000..f012fd35054
--- /dev/null
+++ b/dev-tools/idea/lucene/codecs/src/java/codecs.iml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/lucene/codecs/src/resources/codecs-resources.iml b/dev-tools/idea/lucene/codecs/src/resources/codecs-resources.iml
new file mode 100644
index 00000000000..9feec2db56e
--- /dev/null
+++ b/dev-tools/idea/lucene/codecs/src/resources/codecs-resources.iml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/lucene/codecs/src/test/codecs-tests.iml b/dev-tools/idea/lucene/codecs/src/test/codecs-tests.iml
new file mode 100755
index 00000000000..e21e946c24e
--- /dev/null
+++ b/dev-tools/idea/lucene/codecs/src/test/codecs-tests.iml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/lucene/core/src/java/lucene-core.iml b/dev-tools/idea/lucene/core/src/java/lucene-core.iml
new file mode 100644
index 00000000000..c74dfecb674
--- /dev/null
+++ b/dev-tools/idea/lucene/core/src/java/lucene-core.iml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/lucene/core/src/resources/lucene-core-resources.iml b/dev-tools/idea/lucene/core/src/resources/lucene-core-resources.iml
new file mode 100644
index 00000000000..3c48aa19d33
--- /dev/null
+++ b/dev-tools/idea/lucene/core/src/resources/lucene-core-resources.iml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/lucene/core/src/test/lucene-core-tests.iml b/dev-tools/idea/lucene/core/src/test/lucene-core-tests.iml
new file mode 100644
index 00000000000..f285f3406c2
--- /dev/null
+++ b/dev-tools/idea/lucene/core/src/test/lucene-core-tests.iml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/lucene/demo/demo.iml b/dev-tools/idea/lucene/demo/demo.iml
index d76a6173834..a18db636ff8 100644
--- a/dev-tools/idea/lucene/demo/demo.iml
+++ b/dev-tools/idea/lucene/demo/demo.iml
@@ -12,6 +12,7 @@
+
@@ -22,7 +23,7 @@
-
+
diff --git a/dev-tools/idea/lucene/facet/facet.iml b/dev-tools/idea/lucene/facet/facet.iml
index 835ba65a1c6..60f54add404 100644
--- a/dev-tools/idea/lucene/facet/facet.iml
+++ b/dev-tools/idea/lucene/facet/facet.iml
@@ -13,7 +13,8 @@
+
-
+
diff --git a/dev-tools/idea/lucene/grouping/grouping.iml b/dev-tools/idea/lucene/grouping/grouping.iml
index 891867d2720..2eda90472b8 100644
--- a/dev-tools/idea/lucene/grouping/grouping.iml
+++ b/dev-tools/idea/lucene/grouping/grouping.iml
@@ -11,7 +11,8 @@
-
+
+
diff --git a/dev-tools/idea/lucene/highlighter/highlighter.iml b/dev-tools/idea/lucene/highlighter/highlighter.iml
index a544e3b21d5..0e231e3e96c 100644
--- a/dev-tools/idea/lucene/highlighter/highlighter.iml
+++ b/dev-tools/idea/lucene/highlighter/highlighter.iml
@@ -11,8 +11,9 @@
+
-
+
diff --git a/dev-tools/idea/lucene/join/join.iml b/dev-tools/idea/lucene/join/join.iml
index ee35fc9ea39..e5acd68f57b 100644
--- a/dev-tools/idea/lucene/join/join.iml
+++ b/dev-tools/idea/lucene/join/join.iml
@@ -12,7 +12,8 @@
+
-
+
diff --git a/dev-tools/idea/lucene/lucene.iml b/dev-tools/idea/lucene/lucene.iml
deleted file mode 100644
index 508f7d97f58..00000000000
--- a/dev-tools/idea/lucene/lucene.iml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/dev-tools/idea/lucene/memory/memory.iml b/dev-tools/idea/lucene/memory/memory.iml
index 9bdc6605c5f..388e87014ac 100644
--- a/dev-tools/idea/lucene/memory/memory.iml
+++ b/dev-tools/idea/lucene/memory/memory.iml
@@ -11,8 +11,9 @@
+
-
+
diff --git a/dev-tools/idea/lucene/misc/misc.iml b/dev-tools/idea/lucene/misc/misc.iml
index 93324481df1..37f841e5fa7 100644
--- a/dev-tools/idea/lucene/misc/misc.iml
+++ b/dev-tools/idea/lucene/misc/misc.iml
@@ -11,6 +11,7 @@
-
+
+
diff --git a/dev-tools/idea/lucene/queries/queries.iml b/dev-tools/idea/lucene/queries/queries.iml
index 2b4b876e13a..16fe4855d6b 100644
--- a/dev-tools/idea/lucene/queries/queries.iml
+++ b/dev-tools/idea/lucene/queries/queries.iml
@@ -12,6 +12,7 @@
-
+
+
diff --git a/dev-tools/idea/lucene/queryparser/queryparser.iml b/dev-tools/idea/lucene/queryparser/queryparser.iml
index 6799506e52c..4dc29056d8f 100644
--- a/dev-tools/idea/lucene/queryparser/queryparser.iml
+++ b/dev-tools/idea/lucene/queryparser/queryparser.iml
@@ -13,7 +13,8 @@
-
+
+
diff --git a/dev-tools/idea/lucene/sandbox/sandbox.iml b/dev-tools/idea/lucene/sandbox/sandbox.iml
index 2f7ed1480a3..ffa103e455b 100644
--- a/dev-tools/idea/lucene/sandbox/sandbox.iml
+++ b/dev-tools/idea/lucene/sandbox/sandbox.iml
@@ -20,7 +20,8 @@
-
+
+
diff --git a/dev-tools/idea/lucene/spatial/spatial.iml b/dev-tools/idea/lucene/spatial/spatial.iml
index 9d203f8fb0a..32232be7526 100644
--- a/dev-tools/idea/lucene/spatial/spatial.iml
+++ b/dev-tools/idea/lucene/spatial/spatial.iml
@@ -22,7 +22,8 @@
-
+
+
diff --git a/dev-tools/idea/lucene/suggest/suggest.iml b/dev-tools/idea/lucene/suggest/suggest.iml
index 9f3338dc6ac..015a79ba5e0 100644
--- a/dev-tools/idea/lucene/suggest/suggest.iml
+++ b/dev-tools/idea/lucene/suggest/suggest.iml
@@ -11,6 +11,7 @@
-
+
+
diff --git a/dev-tools/idea/lucene/codecs/codecs.iml b/dev-tools/idea/lucene/test-framework/lucene-test-framework.iml
similarity index 50%
rename from dev-tools/idea/lucene/codecs/codecs.iml
rename to dev-tools/idea/lucene/test-framework/lucene-test-framework.iml
index 1ace4405c83..7bd702579c2 100644
--- a/dev-tools/idea/lucene/codecs/codecs.iml
+++ b/dev-tools/idea/lucene/test-framework/lucene-test-framework.iml
@@ -1,16 +1,17 @@
-
-
+
+
+
-
-
-
+
+
+
diff --git a/dev-tools/idea/lucene/tools/tools.iml b/dev-tools/idea/lucene/tools/tools.iml
new file mode 100644
index 00000000000..a3bcd070ad7
--- /dev/null
+++ b/dev-tools/idea/lucene/tools/tools.iml
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/parent.iml b/dev-tools/idea/parent.iml
index e253bc9e70f..436c530537b 100644
--- a/dev-tools/idea/parent.iml
+++ b/dev-tools/idea/parent.iml
@@ -4,6 +4,11 @@
+
+
+
+
+
diff --git a/dev-tools/idea/solr/contrib/analysis-extras/analysis-extras.iml b/dev-tools/idea/solr/contrib/analysis-extras/analysis-extras.iml
index 78d27321e2f..c303a7f4835 100644
--- a/dev-tools/idea/solr/contrib/analysis-extras/analysis-extras.iml
+++ b/dev-tools/idea/solr/contrib/analysis-extras/analysis-extras.iml
@@ -21,15 +21,19 @@
-
+
+
+
+
-
+
+
-
+
diff --git a/dev-tools/idea/solr/contrib/clustering/clustering.iml b/dev-tools/idea/solr/contrib/clustering/clustering.iml
index 607625536fb..bd85d56f6c4 100644
--- a/dev-tools/idea/solr/contrib/clustering/clustering.iml
+++ b/dev-tools/idea/solr/contrib/clustering/clustering.iml
@@ -21,17 +21,21 @@
-
+
+
+
+
-
+
+
-
+
diff --git a/dev-tools/idea/solr/contrib/dataimporthandler-extras/dataimporthandler-extras.iml b/dev-tools/idea/solr/contrib/dataimporthandler-extras/dataimporthandler-extras.iml
index 55ba4ff0664..382030cf357 100644
--- a/dev-tools/idea/solr/contrib/dataimporthandler-extras/dataimporthandler-extras.iml
+++ b/dev-tools/idea/solr/contrib/dataimporthandler-extras/dataimporthandler-extras.iml
@@ -12,12 +12,15 @@
-
+
+
+
+
-
+
+
-
diff --git a/dev-tools/idea/solr/contrib/dataimporthandler/dataimporthandler.iml b/dev-tools/idea/solr/contrib/dataimporthandler/dataimporthandler.iml
index eb3428aff42..90e4cf13da1 100644
--- a/dev-tools/idea/solr/contrib/dataimporthandler/dataimporthandler.iml
+++ b/dev-tools/idea/solr/contrib/dataimporthandler/dataimporthandler.iml
@@ -14,10 +14,14 @@
-
+
+
-
+
+
+
+
-
+
diff --git a/dev-tools/idea/solr/contrib/extraction/extraction.iml b/dev-tools/idea/solr/contrib/extraction/extraction.iml
index 877d72fd6cd..4d471577110 100644
--- a/dev-tools/idea/solr/contrib/extraction/extraction.iml
+++ b/dev-tools/idea/solr/contrib/extraction/extraction.iml
@@ -12,9 +12,13 @@
-
+
+
+
+
-
-
+
+
+
diff --git a/dev-tools/idea/solr/contrib/langid/langid.iml b/dev-tools/idea/solr/contrib/langid/langid.iml
index 3f79403062a..48e75eb7186 100644
--- a/dev-tools/idea/solr/contrib/langid/langid.iml
+++ b/dev-tools/idea/solr/contrib/langid/langid.iml
@@ -13,7 +13,8 @@
-
+
+
@@ -25,7 +26,9 @@
-
-
+
+
+
+
diff --git a/dev-tools/idea/solr/contrib/uima/uima.iml b/dev-tools/idea/solr/contrib/uima/uima.iml
index c962746270b..a01e211e442 100644
--- a/dev-tools/idea/solr/contrib/uima/uima.iml
+++ b/dev-tools/idea/solr/contrib/uima/uima.iml
@@ -13,7 +13,8 @@
-
+
+
@@ -24,8 +25,11 @@
-
-
+
+
+
+
+
diff --git a/dev-tools/idea/solr/contrib/velocity/velocity.iml b/dev-tools/idea/solr/contrib/velocity/velocity.iml
index 1c1972dad56..57cc2a74e71 100644
--- a/dev-tools/idea/solr/contrib/velocity/velocity.iml
+++ b/dev-tools/idea/solr/contrib/velocity/velocity.iml
@@ -12,10 +12,13 @@
-
+
+
-
-
+
+
+
+
diff --git a/dev-tools/idea/solr/core/src/java/solr-core.iml b/dev-tools/idea/solr/core/src/java/solr-core.iml
new file mode 100644
index 00000000000..91a29724108
--- /dev/null
+++ b/dev-tools/idea/solr/core/src/java/solr-core.iml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/solr/core/src/test-files/solr-core-test-files.iml b/dev-tools/idea/solr/core/src/test-files/solr-core-test-files.iml
new file mode 100644
index 00000000000..97b87d5dac0
--- /dev/null
+++ b/dev-tools/idea/solr/core/src/test-files/solr-core-test-files.iml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/solr/core/src/test/solr-core-tests.iml b/dev-tools/idea/solr/core/src/test/solr-core-tests.iml
new file mode 100644
index 00000000000..792e5af02fa
--- /dev/null
+++ b/dev-tools/idea/solr/core/src/test/solr-core-tests.iml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/solr/solr.iml b/dev-tools/idea/solr/solr.iml
deleted file mode 100644
index 72e4abe2ecb..00000000000
--- a/dev-tools/idea/solr/solr.iml
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/dev-tools/idea/solr/solrj/src/java/solrj.iml b/dev-tools/idea/solr/solrj/src/java/solrj.iml
new file mode 100644
index 00000000000..ff770dbded8
--- /dev/null
+++ b/dev-tools/idea/solr/solrj/src/java/solrj.iml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/solr/solrj/src/test-files/solrj-test-files.iml b/dev-tools/idea/solr/solrj/src/test-files/solrj-test-files.iml
new file mode 100644
index 00000000000..7098acd6dd6
--- /dev/null
+++ b/dev-tools/idea/solr/solrj/src/test-files/solrj-test-files.iml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/solr/solrj/src/test/solrj-tests.iml b/dev-tools/idea/solr/solrj/src/test/solrj-tests.iml
new file mode 100644
index 00000000000..83fc4cc0360
--- /dev/null
+++ b/dev-tools/idea/solr/solrj/src/test/solrj-tests.iml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dev-tools/idea/solr/test-framework/solr-test-framework.iml b/dev-tools/idea/solr/test-framework/solr-test-framework.iml
new file mode 100644
index 00000000000..ae208c9de6b
--- /dev/null
+++ b/dev-tools/idea/solr/test-framework/solr-test-framework.iml
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+