Github user diegoceccarelli commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/293#discussion_r159154912
--- Diff:
solr/core/src/java/org/apache/solr/handler/component/SpellCheckComponent.java
---
@@ -339,7 +339,7 @@ private void addOriginalTermsToResponse(NamedList
response, Collection<Token> or
protected SolrParams getCustomParams(String dictionary, SolrParams
params) {
ModifiableSolrParams result = new ModifiableSolrParams();
Iterator<String> iter = params.getParameterNamesIterator();
- String prefix = SpellingParams.SPELLCHECK_PREFIX + "." + dictionary +
".";
+ String prefix = SpellingParams.SPELLCHECK_PREFIX + dictionary + ".";
--- End diff --
What about checking if dictionary containing the trailing dot in the code?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]