dungba88 commented on issue #12543:
URL: https://github.com/apache/lucene/issues/12543#issuecomment-1748001631

   I put together a PR at https://github.com/apache/lucene/pull/12624.
   
   I also verified with a custom dictionary (~1MB in size) that position does 
not go backward to previously written input, so I think it would not be a 
problem to create a new `FSTWriter` that flush to disk on every add and only 
use the in-mem buffer for processing the current input. That is assuming we 
have `shouldShareSuffix` set to false.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to