Re: How to restore corrupted index

2008-10-16 Thread mahdi yari
hi dears i have same problem i indexing on Ubuntu Linux Distro and i have large index (>30G) and mergeFactor = 10, my Lucene version is 2.2.0 i think this maybe bug on Lucene 2.2.0 but i get this error sometimes, not always thanks alot On Thu, Oct 16, 2008 at 3:01 PM, Chaula Ganatra <[EMAIL PROT

IndexSearcher update

2008-10-16 Thread mahdi yari
hi dears i have a question of Lucene i have on index with 1,000 document with id field(String:UUID) and one indexSearcher for search on it, after that, i start one IndexWriter that writes 1,000,000 new document in to index, now if i do not update IndexSearcher, can i search on first 1,000 documen

update IndexSearcher

2008-10-16 Thread mahdi yari
hi dears i have a question of Lucene i have on index with 1,000 document with id field(String:UUID) and one indexSearcher for search on it, after that, i start one IndexWriter that writes 1,000,000 new document in to index, now if i do not update IndexSearcher, can i search on first 1,000 documen

Re: IndexSearcher update

2008-10-16 Thread mahdi yari
:) > Very normally. > > -- > Anshum Gupta > Naukri Labs! > http://ai-cafe.blogspot.com > > The facts expressed here belong to everybody, the opinions to me. The > distinction is yours to draw > > > On Thu, Oct 16, 2008 at 3:43 PM, mahdi yari <[EMAIL

Re: How to restore corrupted index

2008-10-17 Thread mahdi yari
ost the full traceback for your exception, and describe your > indexing process as well? > > Mike > > > mahdi yari wrote: > > hi dears >> i have same problem >> i indexing on Ubuntu Linux Distro and i have large index (>30G) and >> mergeFactor = 10, &

Re: Equal distribution over a field

2008-10-17 Thread mahdi yari
i think you can use SortComparatorSource to control on sort of documents. but i can not understand your problem correctly On Thu, Oct 16, 2008 at 6:14 PM, Anselmo <[EMAIL PROTECTED]>wrote: > > I am using Lucene to search for products in an online-shop with several > shops, brands etc. > > Is it

Re: How to restore corrupted index

2008-10-17 Thread mahdi yari
, an entirely missing file is due to two writers accidentally > being opened at the same time on the same index. > > If you can use IndexWriter.setInfoStream to turn on logging & capture all > logs leading up to the missing file then I could dig further. > > Mike > > &

Re: Merge index will maintain index order

2008-10-20 Thread mahdi yari
i can not understand about last sentence "So the final index will only ..." can you write more about this, because i have same question... thanks On Mon, Oct 20, 2008 at 2:04 PM, Michael McCandless < [EMAIL PROTECTED]> wrote: > > By merge you mean using addIndexes*, right? > > Those methods logic