You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by romseygeek <gi...@git.apache.org> on 2018/10/01 08:10:37 UTC

[GitHub] lucene-solr pull request #460: LUCENE-8497: refactor multi-term analysis han...

Github user romseygeek commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/460#discussion_r221522640
  
    --- Diff: lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/TrimFilterFactory.java ---
    @@ -53,7 +51,7 @@ public TrimFilter create(TokenStream input) {
       }
     
       @Override
    -  public AbstractAnalysisFactory getMultiTermComponent() {
    -    return this;
    +  public TrimFilter normalize(TokenStream input) {
    --- End diff --
    
    The return signature here can just be TokenStream, I think?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org