You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "vivek (JIRA)" <ji...@apache.org> on 2008/01/16 23:34:35 UTC

[jira] Commented: (LUCENE-390) Contribution: LuceneIndexAccessor

    [ https://issues.apache.org/jira/browse/LUCENE-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559694#action_12559694 ] 

vivek commented on LUCENE-390:
------------------------------

Is there any plan to incorporate this IndexAccessor package in Lucene 2.3? I see this library has been updated since last comments in this Jira,

     http://www.gossamer-threads.com/lists/lucene/java-user/53117?search_string=LuceneIndexAccessor%20;#53251

We have a quite a similar requirement:

1) We have two writer threads (they come at the same time every 5 minutes) and write to temporary index
2) The two temporary indexes are then merged into a master index - using another IndexWriter
3) Currently, we open searcher for every new search, but we want to be able to cache the searcher and get a new one only if there is a change in the indexes (like every 5 minutes).

I think IndexAccessor is a good addition, unless there already exists something similar in Lucene package, which I'm not aware of.

> Contribution: LuceneIndexAccessor
> ---------------------------------
>
>                 Key: LUCENE-390
>                 URL: https://issues.apache.org/jira/browse/LUCENE-390
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Index
>    Affects Versions: unspecified
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Maik Schreiber
>            Assignee: Lucene Developers
>            Priority: Minor
>         Attachments: lucene-indexaccess-0.2.0.zip
>
>
> As per this post:
> http://mail-archives.apache.org/mod_mbox/lucene-java-dev/200505.mbox/%3c200505182152.07489@danielnaber.de%3e
> I'm attaching the LuceneIndexAccessor source here. Copyright is now 2005 The
> Apache Software Foundation.
> Please note that it won't compile out of the box, but that should be fairly easy
> to fix using a CVS version of Lucene. Also it makes use of Log4J.
> I'm fine with moving the classes to any package you like.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org