GitHub user jongyoul opened a pull request:
https://github.com/apache/zeppelin/pull/3058
[ZEPPELIN-3593] Change LuceneSearch's directory to file system from memory
### What is this PR for?
Reducing a usage of memory by moving Lucene search's directory to the file
system
### What type of PR is it?
[Improvement]
### Todos
* [ ] - Replace `RamDirectory` to `MMapDirectory`
### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-3593
### How should this be tested?
It doesn't affect any current behaviors. Test search service
### Screenshots (if appropriate)
### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jongyoul/zeppelin ZEPPELIN-3593
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/3058.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3058
----
commit 154d4b4aa5b28a5ac05dd827e22a2d1e09b66438
Author: Jongyoul Lee <jongyoul@...>
Date: 2018-07-09T05:54:33Z
Replace `RamDirectory` to `MMapDirectory` provided by Lucene
commit e8e7589bd8c26b54d321d90056fdcbc09a876eb6
Author: Jongyoul Lee <jongyoul@...>
Date: 2018-07-09T06:13:12Z
Add deletion logic for the temporary directory
----
---