Skip to content

Commit bd66350

Browse files
slow-Jdweiss
authored andcommitted
Attempting to clean up some remaining Solr references (#12939)
* Attempting to clean up some remaining Solr references * Update gradle/help.gradle Co-authored-by: Dawid Weiss <[email protected]> --------- Co-authored-by: Dawid Weiss <[email protected]>
1 parent ceec058 commit bd66350

18 files changed

+31
-50
lines changed

dev-tools/README.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ as to the usefulness of the tools.
55

66
Description of dev-tools/ contents:
77

8-
./size-estimator-lucene-solr.xls -- Spreadsheet for estimating memory and disk usage in Lucene/Solr
8+
./aws-jmh/ -- Scripts for running microbenchmarks across different ec2 instance types.
9+
./doap/ -- Lucene project descriptors in DOAP RDF format.
910
./missing-doclet -- JavaDoc validation doclet subproject
10-
./doap/ -- Lucene and Solr project descriptors in DOAP RDF format.
11-
./scripts/ -- Odds and ends for building releases, etc.
12-
./test-patch/ -- Scripts for automatically validating patches
11+
./scripts/ -- Odds and ends for building releases, etc.
12+
./test-patch/ -- Scripts for automatically validating patches

gradle/help.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ configure(rootProject) {
4545
help {
4646
doLast {
4747
println ""
48-
println "This is an experimental Lucene/Solr gradle build. See some"
48+
println "This is Lucene's gradle build. See some"
4949
println "guidelines, ant-equivalent commands etc. under help/*; or type:"
5050
println ""
5151
helpFiles.each { section, path, sectionInfo ->

gradle/testing/randomization.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ allprojects {
145145
"tests.leaveTemporary",
146146
"tests.leavetemporary",
147147
"tests.leavetmpdir",
148-
"solr.test.leavetmpdir",
149148
].find { prop ->
150149
def v = Boolean.parseBoolean(propertyOrDefault(prop, "false"))
151150
if (v) {

gradle/testing/randomization/policies/tests.policy

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,6 @@ grant {
8383
// used by nested tests? (e.g. TestLeaveFilesIfTestFails). TODO: look into this
8484
permission java.util.PropertyPermission "tests.runnested", "write";
8585

86-
// solr properties. TODO: move these out to SolrTestCase
87-
permission java.util.PropertyPermission "solr.data.dir", "write";
88-
permission java.util.PropertyPermission "solr.solr.home", "write";
89-
permission java.util.PropertyPermission "solr.directoryFactory", "write";
90-
9186
// allows LuceneTestCase#runWithRestrictedPermissions to execute with lower (or no) permission
9287
permission java.security.SecurityPermission "createAccessControlContext";
9388

lucene/CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ Other
5959

6060
* GITHUB#11023: Removing @lucene.experimental tags in testXXX methods in CheckIndex. (Jakub Slowinski)
6161

62+
* GITHUB#12934: Cleaning up old references to Lucene/Solr. (Jakub Slowinski)
63+
6264
======================== Lucene 9.9.1 =======================
6365

6466
Bug Fixes

lucene/test-framework/src/java/org/apache/lucene/tests/geo/BaseGeoPointTestCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@
7878
* test focuses on geospatial (distance queries, polygon queries, etc) indexing and search, not any
7979
* underlying storage format or encoding: it merely supplies two hooks for the encoding so that
8080
* tests can be exact. The [stretch] goal is for this test to be so thorough in testing a new geo
81-
* impl that if this test passes, then all Lucene/Solr tests should also pass. Ie, if there is some
82-
* bug in a given geo impl that this test fails to catch then this test needs to be improved!
81+
* impl that if this test passes, then all Lucene tests should also pass. Ie, if there is some bug
82+
* in a given geo impl that this test fails to catch then this test needs to be improved!
8383
*/
8484
public abstract class BaseGeoPointTestCase extends LuceneTestCase {
8585

lucene/test-framework/src/java/org/apache/lucene/tests/index/BaseCompoundFormatTestCase.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@
5151
/**
5252
* Abstract class to do basic tests for a compound format. NOTE: This test focuses on the compound
5353
* impl, nothing else. The [stretch] goal is for this test to be so thorough in testing a new
54-
* CompoundFormat that if this test passes, then all Lucene/Solr tests should also pass. Ie, if
55-
* there is some bug in a given CompoundFormat that this test fails to catch then this test needs to
56-
* be improved!
54+
* CompoundFormat that if this test passes, then all Lucene tests should also pass. Ie, if there is
55+
* some bug in a given CompoundFormat that this test fails to catch then this test needs to be
56+
* improved!
5757
*/
5858
public abstract class BaseCompoundFormatTestCase extends BaseIndexFileFormatTestCase {
5959

lucene/test-framework/src/java/org/apache/lucene/tests/index/BaseDocValuesFormatTestCase.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,9 @@
9494
/**
9595
* Abstract class to do basic tests for a docvalues format. NOTE: This test focuses on the docvalues
9696
* impl, nothing else. The [stretch] goal is for this test to be so thorough in testing a new
97-
* DocValuesFormat that if this test passes, then all Lucene/Solr tests should also pass. Ie, if
98-
* there is some bug in a given DocValuesFormat that this test fails to catch then this test needs
99-
* to be improved!
97+
* DocValuesFormat that if this test passes, then all Lucene tests should also pass. Ie, if there is
98+
* some bug in a given DocValuesFormat that this test fails to catch then this test needs to be
99+
* improved!
100100
*/
101101
public abstract class BaseDocValuesFormatTestCase extends BaseIndexFileFormatTestCase {
102102

lucene/test-framework/src/java/org/apache/lucene/tests/index/BaseFieldInfoFormatTestCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
/**
5353
* Abstract class to do basic tests for fis format. NOTE: This test focuses on the fis impl, nothing
5454
* else. The [stretch] goal is for this test to be so thorough in testing a new fis format that if
55-
* this test passes, then all Lucene/Solr tests should also pass. Ie, if there is some bug in a
56-
* given fis Format that this test fails to catch then this test needs to be improved!
55+
* this test passes, then all Lucene tests should also pass. Ie, if there is some bug in a given fis
56+
* Format that this test fails to catch then this test needs to be improved!
5757
*/
5858
public abstract class BaseFieldInfoFormatTestCase extends BaseIndexFileFormatTestCase {
5959

lucene/test-framework/src/java/org/apache/lucene/tests/index/BaseNormsFormatTestCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@
5454
/**
5555
* Abstract class to do basic tests for a norms format. NOTE: This test focuses on the norms impl,
5656
* nothing else. The [stretch] goal is for this test to be so thorough in testing a new NormsFormat
57-
* that if this test passes, then all Lucene/Solr tests should also pass. Ie, if there is some bug
58-
* in a given NormsFormat that this test fails to catch then this test needs to be improved!
57+
* that if this test passes, then all Lucene tests should also pass. Ie, if there is some bug in a
58+
* given NormsFormat that this test fails to catch then this test needs to be improved!
5959
*/
6060
public abstract class BaseNormsFormatTestCase extends BaseIndexFileFormatTestCase {
6161

0 commit comments

Comments
 (0)