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
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
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
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
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
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]
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
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
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&
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
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
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
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
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
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
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
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
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
'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
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
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
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
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
23 matches
Mail list logo