lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [lucenenet] rclabo commented on issue #360: AnalyzingInfixSuggester Index Storage
Date Wed, 27 Jan 2021 13:50:57 GMT

rclabo commented on issue #360:
URL: https://github.com/apache/lucenenet/issues/360#issuecomment-768298151


   It's too bad the member var for IndexWriter in the Java class is private rather then protected.
 So inheriting from `AnalyzingInfixSuggester` and adding on a simple method 
   
   ```
   public virtual void Commit() {
               writer.Commit();
           }
   ```
   isn't an option sadly.  Makes a person appreciate the power of making member vars protected
rather than private.  Something I don't do in my own code nearly enough.


----------------------------------------------------------------
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:
users@infra.apache.org



Mime
View raw message