GitHub user bwmcbride opened a pull request:

    https://github.com/apache/jena/pull/123

    Add memoizing of LuceneTextIndexes so that there is one TextIndexLucene

    JENA-1122
    
    These changes memoize LuceneTextIndexes so that there is one per directory, 
and Lucene RAMDirectories created by the Lucene assembler so there is one 
RAMDirectory per node in the configuration graph.
    
    One issue is when to forget a memoized object.  The policy implemented in 
this code is to forget the object when it is closed.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/epimorphics/jena JENA-1122

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/jena/pull/123.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 #123
    
----
commit d0451f1fda636aa9fa0915e4bedd3507cea54e7a
Author: Brian McBride <[email protected]>
Date:   2016-01-21T12:32:20Z

    Add memoizing of LuceneTextIndexes so that there is one TextIndexLucene
    object per directory.  Similary so the Lucene assembler only creates one
    RAMDirectory per node.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to