[ http://issues.apache.org/jira/browse/LUCENE-731?page=comments#action_12453920 ] Karl Wettin commented on LUCENE-731: ------------------------------------
benson margulies [28/Nov/06 04:21 AM] > Tell me if another issue is apposite, or send me off to make a patch, but ... > > How about if IndexWriter defined some protected methods so that a class that > extended it could > perform operations at index merge time? Simply extend IndexWriter and IndexReader to decorate insert, delete and commit-method. Make sure you always use the same decorator to catch all your calls. Or use the NotifiableIndex in <http://issues.apache.org/jira/browse/LUCENE-731> as I suggested earlier. It does the same thing, plus a few more things. > Simple attempt at adding and searching at the same time fails. > -------------------------------------------------------------- > > Key: LUCENE-731 > URL: http://issues.apache.org/jira/browse/LUCENE-731 > Project: Lucene - Java > Issue Type: Bug > Components: Index > Affects Versions: 2.0.0 > Environment: Windows XP, java 1.4. > Reporter: benson margulies > Attachments: LuceneBooleanQuery.java > > > The FAQ says that you can index and lookup simultaneously. I tried what > appeared to be the simplest possible implementation of that, and the searcher > never finds anything. I will attach a junit test. > If the code is working as designed, please consider this a bug in the FAQ or > some other doc that there is no pattern given for how to do this. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]