Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

add getter method for unit testing

Robert Muir71d5daf0409a
diff --git a/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/Dictionary.java b/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/Dictionary.java
index fccfd69d0db..d66f8f9f9b0 100644
--- a/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/Dictionary.java
+++ b/lucene/analysis/common/src/java/org/apache/lucene/analysis/hunspell/Dictionary.java
@@ -1240,4 +1240,9 @@ public class Dictionary {
}
}
}
+
+ /** Returns true if this dictionary was constructed with the {@code ignoreCase} option */
+ public boolean getIgnoreCase() {
+ return ignoreCase;
+ }
}