Re: Multiple indexes

2005-03-01 Thread Otis Gospodnetic
index for each type of document. What is the > best > > > way to implement this? > > > > > > I have been trying to implement this but found out that 90% of > the > > > code is th

Re: Multiple indexes

2005-03-01 Thread Ben
this but found out that 90% of the > > code is the same. > > > > In Lucene in Action book, there is a case study on jGuru, it just > > mentions them using multiple indexes. I would like to do something > > like them. > > > > Any resources on the Internet t

Re: Multiple indexes

2005-03-01 Thread Erik Hatcher
ld like to create an index for each type of document. What is the best way to implement this? I have been trying to implement this but found out that 90% of the code is the same. In Lucene in Action book, there is a case study on jGuru, it just mentions them using multiple indexes. I would like to do

Multiple indexes

2005-03-01 Thread Ben
on jGuru, it just mentions them using multiple indexes. I would like to do something like them. Any resources on the Internet that I can learn from? Thanks, Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: Merging multiple indexes

2004-11-10 Thread Otis Gospodnetic
Use IndexWriter's addIndexes(Directory[]) call. Otis --- Ravi <[EMAIL PROTECTED]> wrote: > Whats's the simplest way to merge 2 or more indexes into one large > index. > > Thanks in advance, > Ravi. > > > > - > To unsubscr

Merging multiple indexes

2004-11-10 Thread Ravi
Whats's the simplest way to merge 2 or more indexes into one large index. Thanks in advance, Ravi. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Here is how to search multiple indexes

2004-07-20 Thread Don Vaillancourt
the appropriate value to pass indexes[i] = new IndexSearcher(blah); } // This is the part which allows you to search multiple indexes Searcher searcher = new MultiSearcher(indexes); // do the search Analyzer analyzer = new StandardAnalyzer(); Query query = QueryParser.parse(express

RE: search multiple indexes

2004-07-01 Thread Toby Tremayne
thank you muchly - I'll poke about with the test cases and see how I go -Original Message- From: Peter M Cipollone [mailto:[EMAIL PROTECTED] Sent: Friday, 2 July 2004 10:35 AM To: Lucene Users List Subject: Re: search multiple indexes Toby, Check http://jakarta.apache.org/lucene

Re: search multiple indexes

2004-07-01 Thread Peter M Cipollone
for all the key classes. Pete - Original Message - From: "Toby Tremayne" <[EMAIL PROTECTED]> To: "'Lucene Users List'" <[EMAIL PROTECTED]> Sent: Thursday, July 01, 2004 7:16 PM Subject: RE: search multiple indexes > > thanks for that - I&

RE: search multiple indexes

2004-07-01 Thread Toby Tremayne
lto:[EMAIL PROTECTED] Sent: Friday, 2 July 2004 9:24 AM To: Lucene Users List Subject: Re: search multiple indexes Stefan Groschupf wrote: >> http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/ >> MultiSearcher.html >> > 100% Right. > I personal found code

Re: search multiple indexes

2004-07-01 Thread David Spencer
Stefan Groschupf wrote: http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/ MultiSearcher.html 100% Right. I personal found code samples more interesting then just java doc. Good point. That why my hint, here the code snippet from nutch: But - warning - in normal use of Lucene you

Re: search multiple indexes

2004-07-01 Thread Stefan Groschupf
http://jakarta.apache.org/lucene/docs/api/org/apache/lucene/search/ MultiSearcher.html 100% Right. I personal found code samples more interesting then just java doc. That why my hint, here the code snippet from nutch: /** Construct given a number of indexed segments. */ public IndexSearcher(Fil

RE: search multiple indexes

2004-07-01 Thread Toby Tremayne
Re: search multiple indexes Stefan Groschupf wrote: >> Possibly a silly question - but how would I go about searching multiple >> indexes using lucene? Do I need to basically repeat the code I use to >> search one index for each one, or is there a better way to do it? > &g

Re: search multiple indexes

2004-07-01 Thread David Spencer
Stefan Groschupf wrote: Possibly a silly question - but how would I go about searching multiple indexes using lucene? Do I need to basically repeat the code I use to search one index for each one, or is there a better way to do it? Take a look to the nutch.org sourcecode. It does what you are

Re: search multiple indexes

2004-07-01 Thread Stefan Groschupf
Possibly a silly question - but how would I go about searching multiple indexes using lucene? Do I need to basically repeat the code I use to search one index for each one, or is there a better way to do it? Take a look to the nutch.org sourcecode. It does what you are searching for. HTH Stefan

search multiple indexes

2004-07-01 Thread Toby Tremayne
Possibly a silly question - but how would I go about searching multiple indexes using lucene? Do I need to basically repeat the code I use to search one index for each one, or is there a better way to do it? Toby

IndexOrderSearcher over multiple indexes

2004-01-15 Thread Albert Vila Puig
Hi all, I'm currently using the IndexOrderSearcher to sort the index results. This is working fine for a single index. The problem begins when I want to search over multiple indexes. I'm using a MultiSearcher, and for each index I've got an IndexOrderSearcher. I obtain the

parallel index building & searching multiple indexes

2003-08-14 Thread Killeen, Tom
ng an efficient way to create multiple indexes? Also, Any sample code out there to search the multiple indexes? thanks, Tom -Original Message- From: Tatu Saloranta [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 8:41 AM To: Lucene Users List Subject: Re: 2,147,483,647 max docu

Re: parallel index building & searching multiple indexes

2003-08-14 Thread Peter Becker
't put any relative paths in the index yourself. Creating them sequentially instead of parallel might be another option to speed up things. Any sample code out there showing an efficient way to create multiple indexes? Also, Any sample code out there to search the multiple indexes? We a

Re: parallel index building & searching multiple indexes

2003-08-14 Thread Otis Gospodnetic
e indexes. I'm > trying to > create them at the same time by running multiple processes and each > index is > written to a new directory. Once I create more than one process - > the > performance is very, very slow. > > Any sample code out there showing an effic

Re: parallel index building & searching multiple indexes

2003-08-14 Thread Peter Becker
very slow. If they are IDE disks you should NOT try to build multiple indexes at once since your disks will bottleneck. If you are using SCSI/Fibre disks you should be able to write out multiple indexes at once but you should benchmark it to make sure that it is in fact faster. It

RE: parallel index building & searching multiple indexes

2003-08-12 Thread Killeen, Tom
PROTECTED] Sent: Monday, August 11, 2003 9:58 AM To: Lucene Users List Subject: Re: parallel index building & searching multiple indexes You didn't provide details about your setup, but my first guess is that all your processes are writing the indices on the same disk, and that disk is your b

Re: parallel index building & searching multiple indexes

2003-08-11 Thread Kevin A. Burton
e IDE disks you should NOT try to build multiple indexes at once since your disks will bottleneck. If you are using SCSI/Fibre disks you should be able to write out multiple indexes at once but you should benchmark it to make sure that it is in fact faster. Kevin -- Help Support NewsMo