lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Van Nguyen" <>
Subject RE: Use one or more indexes?
Date Wed, 14 Jun 2006 15:46:00 GMT
I have a question in regards to the same topic:

If I have three different database queries, should I just create a
separate index for each query?

Or should I just add all the results I get back from each of the query
into one big index.  Will there be any issues with documents having
different number of fields, documents that don't have a particular
field, etc??



-----Original Message-----
From: Liao Xuefeng [] 
Sent: Tuesday, June 13, 2006 4:53 PM
Subject: Use one or more indexes?

hi, I'm new to lucene.

Now I want to add full-text search for my website to search articles,
and bbs topics. I'm not sure to use only one index to search all types
these, or create 3 indexes for each of type.

If I use only one index, do I have to add a 'type' field to identify
document type? and how to filter the specified type?
If I use 3 indexes, is there more memory & cpu time cost?

Thanks in advance, for any help & suggestions.

Best regards,


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message