mikemccand commented on pull request #2052: URL: https://github.com/apache/lucene-solr/pull/2052#issuecomment-729007347
> > Thank you @zacharymorn! It's so nice we can move this to pure java now -- this makes it much easier and lower risk for Lucene users to test. > > I suspect for Lucene applications that do both indexing and searching on a single box (e.g. Elasticsearch), this might be a big improvement in preventing large merges from hurting concurrent queries. > > No problem @mikemccand ! I'm glad to be able to contribute as well. > > One thing I notice while working on this, and also related to your comment is, it seems Lucene core doesn't seems to use this facility via any configuration at all (no reference to `NativeUnixDirectory`). So I'm wondering if it makes sense to have a follow up task to add some kind of configuration (through Merge policy?) to use it as well once the changes stabilize ? Well, we cannot directly use `NativeUnixDirectory` from Lucene's core, e.g. sometimes using it in `FSDirectory.open` or so, since it exists in Lucene's misc module. Second, it is extremely experimental and not clear when it provides benefits / what risks there are / etc. We need to learn much more about it, in diverse usage, to help here. I'd love to hear from Elasticsearch or Solr users if this helps, since those applications do simultaneous indexing (merging) and searching on the same box. Third, users are able to choose to use this when they instantiate the `Directory` implementation for their search application, so it is straightforward to adopt and play with, even if Lucene's core does not do so by default. ---------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org