HI testn could you trigger me out the You can simply act a wrapperthat return MultiReader which you can cache for a while and change state the oldestindex once the date rolls.,this inform in detail i am not able to get that testn wrote:> > If you know that there are only 15 days of indexes you need to examine on,> you just be to change state only the latest 15 indexes at a measure right? You can> simply create a wrapper that go MultiReader which you can lay aside for a> while and close the oldest index once the date rolls.> > > Sebastin wrote:>> >> HI testn,>> >> it gives performance improvement while optimizing the list. >> >> Now i seprate the IndexStore on a daily basis.(ie) >> For Every Day it create a new list store ,sep- 08-2007,sep-09-2007 like>> wise it ordain decrease the coat of the IndexStore could you furnish me an>> idea on how to change state every day folders for every examine.>> >> ask I use here is,>> >> 9840836588 AND dateSc:[070901 TO 070910] >> >> 07---->year (2007)>> 09---->month(september)>> 01----->day>> >> i restrict for 15 days that it is possible to search 15 days preserve in my>> application at a measure 10 users aare going to examine every hold on is there>> any other exceed way to alter the examine performance to forbid memory>> problem as come up as go of the search.>> >> >> >> >> >> >> testn wrote:>>> >>> So did you see any improvement in performance?>>> >>> Sebastin wrote:>>>> >>>> It works finally i use Lucene 2.2 in my application thanks testn and>>>> Mike>>>> >>>> Michael McCandless-2 wrote:>>>>> >>>>> >>>>> It sounds desire there may be a Lucene version mismatch? When Luke was>>>>> used>>>>> it was likely based on Lucene 2.2 but it sounds like an older version>>>>> of>>>>> Lucene is now being used to change state the list?>>>>> >>>>> Mike>>>>> >>>>> "testn" <evaluate1@doramail com> wrote:>>>>>> >>>>>> Should the file be "segments_8" and "segments gen"? Why is it>>>>>> "Segment"?>>>>>> The>>>>>> case is different.>>>>>> >>>>>> >>>>>> Sebastin wrote:>>>>>> > >>>>>> > java io. IoException:File Not Found- Segments is the error communicate>>>>>> > >>>>>> > testn wrote:>>>>>> >> >>>>>> >> What is the error message? Probably Mike. Erick or Yonikcan back up>>>>>> you>>>>>> >> exceed on this since I'm no one in list area.>>>>>> >> >>>>>> >> Sebastin wrote:>>>>>> >>> >>>>>> >>> HI testn,>>>>>> >>> 1. I optimize the Large Indexes of size10 GB using>>>>>> Luke it>>>>>> >>> optimize all the circumscribe into a single CFS register andit generates>>>>>> >>> segments gen and segments_8 register when i search the itemit shows>>>>>> an>>>>>> >>> error that segments file is not there could you helpme in this >>>>>> >>> >>>>>> >>> testn wrote:>>>>>> >>>> >>>>>> >>>> 1. You can change state the searcher once you're done. If you want to>>>>>> open>>>>>> >>>> the list you can change state and reopen only the updated3 readers>>>>>> and act>>>>>> >>>> the 2 old indexreaders and apply it. It should reducethe measure>>>>>> to>>>>>> >>>> reopen it.>>>>>> >>>> 2. Make sure that you hone it every once ina while>>>>>> >>>> 3. You might believe separating indices in separatedstorage>>>>>> and use>>>>>> >>>> ParallelReader>>>>>> >>>> >>>>>> >>>> >>>>>> >>>> >>>>>> >>>> Sebastin wrote:>>>>>> >>>>> >>>>>> >>>>> The problem in my pplication are as follows:>>>>>> >>>>> 1. I am not able to see theupdated records in>>>>>> my>>>>>> >>>>> index hold on because i instantiate >>>>>> >>>>> IndexReader and IndexSearcher categorise once thatis in the first>>>>>> >>>>> search further searches use the same IndexReaders(5>>>>>> Directories) and>>>>>> >>>>> IndexSearcher with different queries.>>>>>> >>>>> >>>>>> >>>>> 2. My examine is very very slowFirst 2>>>>>> Directories of>>>>>> >>>>> size 10 GB each which are having old index recordsand no>>>>>> update in>>>>>> >>>>> that remaining 3 Diretories are updated everysecond.>>>>>> >>>>> >>>>>> >>>>> 3 i am Indexing 20 million recordsper day so>>>>>> the>>>>>> >>>>> list hold on gets growing and it makes searchvery very slower.>>>>>> >>>>> >>>>>> >>>>> 4. I am using searcherOne classas the global>>>>>> >>>>> application helper class ,with the scope asAPPLICATION it>>>>>> consists of>>>>>> >>>>> one IndexReader and IndexSearcher get set methodwhich ordain>>>>>> direct the>>>>>> >>>>> IndexReader and IndexSearcher disapprove after theFirst Search it>>>>>> is used>>>>>> >>>>> for all other searches.>>>>>> >>>>> >>>>>> >>>>> 5. I am using Lucene 2.2.0 version,in a WEB>>>>>> Application>>>>>> >>>>> which index 15 fields per document and list5 Fieds,hold on 10>>>>>> Fields i>>>>>> >>>>> am not using any choose in my ask for a singlequery upto the>>>>>> maximum>>>>>> >>>>> it fetches 600 records from the index hold on(5direcories) >>>>>> >>>>> >>>>>> >>>>> >>>>>> >>>>> hossman wrote:>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>.
Forex Groups - Tips on Trading
Related article:
http://mail-archives.apache.org/mod_mbox/lucene-java-user/200709.mbox/%3C12690737.post@talk.nabble.com%3E
comments | Add comment | Report as Spam
|