Re: Store/Index Email Address in Lucene

2008-07-06 Thread miztaken
Hi there, sorry for the delay >Q. Can there be multiple addresses in a single document? A. Yes there can be multiple addresses in a single document in single field. >Q. Do you add any other data to the document that you mean to query for? A. Yes there can be other fields as well, if this is

ThreadLocal in SegmentReader

2008-07-06 Thread Roman Puchkovskiy
Hi. There's a ThreadLocal field in SegmentReader (it's called termVectorsLocal). Some value is put to it, but it's never cleared. Is it ok? It looks like sometimes this behavior may lead to leaks. This is the same in lucene-2.2.0 and lucene-2.3.2. Thanks in advance. -- View this message in con

RE: Index different files in different folders in lucene

2008-07-06 Thread starz10de
John, Thanks for your kind help. I will try to modify the source code. John Griffin-3 wrote: > > Starz, > > If you are using the LuceneDemo jar to index your docs its default > behavior > is to recursively index all files to an 'index' directory from a > 'root-directory' you specify. So what

Re: FileNotFoundException in ConcurrentMergeScheduler

2008-07-06 Thread Yajun
I saw the same problem for a while. here is how I used lucene index: 1) I don't use compound file. 2) I have a single process and a single thread to update index as index updater. The index is really small, the mergefactor is 10. After index is updated, the same thread copies the index to a tmp

RE: Index different files in different folders in lucene

2008-07-06 Thread John Griffin
Starz, P.S. Even if you ran the program twice it still would not work. The program will tell you to delete the 'index' directory before indexing. Bottom line is 'refactor the code to so what you want'. John G. -Original Message- From: starz10de [mailto:[EMAIL PROTECTED] Sent: Sunday,

RE: Index different files in different folders in lucene

2008-07-06 Thread John Griffin
Starz, If you are using the LuceneDemo jar to index your docs its default behavior is to recursively index all files to an 'index' directory from a 'root-directory' you specify. So what you are trying to do won't work unless you modify the source to do what you want. It would not be that difficult

Reg : lucene RemoteSearchable Object

2008-07-06 Thread saikrishna venkata pendyala
Hi all, I am currently developing a distributed search engine using Lucene. I am able to search the multiple machines quite successfully. Each machine using MultiSearcher to search the local indexes and I am creating RemoteSearchable object with it. The master machines searches these RemoteSea

RE: Index different files in different folders in lucene

2008-07-06 Thread starz10de
hi John , Is important to know my code ? I though it is general question! I use lucene to index some files in one folder, but in my case I have different files (text files) in two different folderes and I though may be lucene could index both in same time. I am just lucene at it is and I dont ha