Managing MultiReader in multi-treaded application

2010-02-06 Thread Dima Volsky
Hi, I'm trying run a scenario in which I have one index writer and several readers. I use the MultiReader for searching on several indexes. The application is multi-threaded so the MultiReader is accessed from several threads sequentialy. In some stage during the run I get AlreadyClosedExceptio

Re: Searching compressed text using CompressionTools

2010-02-06 Thread Erick Erickson
*assuming* that you've made a typo and aren't really seeing a 1000X difference in size Did you create your index fresh each time (or delete the old FSDIr) before recording your sizes? If you're appending to the current index, your numbers are misleading Erick On Wed, Feb 3, 2010 at 6:01 A

RE: hit highlighting in lucene

2010-02-06 Thread Uwe Schindler
There are two contrib packages for highlighting in the lucene distribution: highlighter and fast-vector-highlighter - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Rohit Banga [mailto:iamrohitba...@gmai

hit highlighting in lucene

2010-02-06 Thread Rohit Banga
Hi friends I have just started using lucene and the way i want to use it is the following: i have documents consisting of names of users as one field. i have a sentence that may contain the name of some user. i perform a search for the sentence in the index using the searcher. if it contains the