andywebb1975 commented on a change in pull request #1103: LUCENE-9102 add 
maxQueryLength option to DirectSpellChecker
URL: https://github.com/apache/lucene-solr/pull/1103#discussion_r360482003
 
 

 ##########
 File path: 
lucene/suggest/src/java/org/apache/lucene/search/spell/DirectSpellChecker.java
 ##########
 @@ -198,6 +200,19 @@ public void setMinQueryLength(int minQueryLength) {
     this.minQueryLength = minQueryLength;
   }
 
+  /** Get the maximum length of a query term to return suggestions */
+  public int getMaxQueryLength() {
+    return maxQueryLength;
+  }
+
+  /** 
+   * Set the maximum length of a query term (default: 0, i.e. no maximum)
+   * to return suggestions. 
+   */
 
 Review comment:
   I've added a second line - happy to take others' input here if there are 
better words to use!

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to