lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romseygeek <...@git.apache.org>
Subject [GitHub] lucene-solr pull request #460: LUCENE-8497: refactor multi-term analysis han...
Date Mon, 01 Oct 2018 08:10:38 GMT
Github user romseygeek commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/460#discussion_r221522605
  
    --- Diff: lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ScandinavianFoldingFilterFactory.java
---
    @@ -51,7 +49,7 @@ public ScandinavianFoldingFilter create(TokenStream input) {
       }
     
       @Override
    -  public AbstractAnalysisFactory getMultiTermComponent() {
    -    return this;
    +  public ScandinavianFoldingFilter 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


Mime
View raw message