[
https://issues.apache.org/jira/browse/LUCENE-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546694
]
Shai Erera commented on LUCENE-1026:
------------------------------------
Hey Mark,
I've cleaned up the code, added javadoc and organized the tests. Can you please
review the changes - I think the code is even more simpler now.
1. I think we should remove StopWatch. Unless I'm missing something, it looks
like it's doing nothing important, inefficiently :-).
2. What is the SimpleSearchServer? Is this like a sample program?
> Provide a simple way to concurrently access a Lucene index from multiple
> threads
> --------------------------------------------------------------------------------
>
> Key: LUCENE-1026
> URL: https://issues.apache.org/jira/browse/LUCENE-1026
> Project: Lucene - Java
> Issue Type: New Feature
> Components: Index, Search
> Reporter: Mark Miller
> Priority: Minor
> Attachments: DefaultIndexAccessor.java,
> DefaultMultiIndexAccessor.java, IndexAccessor.java,
> IndexAccessorFactory.java, MultiIndexAccessor.java, shai-IndexAccessor-2.zip,
> shai-IndexAccessor.zip, SimpleSearchServer.java, StopWatch.java,
> TestIndexAccessor.java
>
>
> For building interactive indexes accessed through a network/internet
> (multiple threads).
> This builds upon the LuceneIndexAccessor patch. That patch was not very
> newbie friendly and did not properly handle MultiSearchers (or at the least
> made it easy to get into trouble).
> This patch simplifies things and provides out of the box support for sharing
> the IndexAccessors across threads. There is also a simple test class and
> example SearchServer to get you started.
> Future revisions will be zipped.
> Works pretty solid as is, but could use the ability to warm new Searchers.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]