Re: Indexstructure design

2008-06-09 Thread Anshum
Hi, Considering you have that number of documents for each class, you may think of splitting the index (as I believe that the total number would be high). What exactly would you mean by 'get the index' from the result? Do you mean that you would want to fetch the class as well (without actually fet

Re: Indexstructure design

2008-06-09 Thread Sascha Fahl
Hi and thanks a lot, I'll take a look at the HitCollector thing. I think I will have around 500.000 - 1.000.000 docs per class. So having different indeces is a good idea I think. Especially because half of the requests will point to only one document class and not to all classes. Is there a wa

Re: Indexstructure design

2008-06-08 Thread Erick Erickson
well, why not just include a field that identifies each document's class? Then, to search over all classes, just don't mention the class field. When you *do* want to restrict by class, include "AND class:blah" in your query. This assumes you don't have a huge number of classes and it wouldn't be

Indexstructure design

2008-06-08 Thread Sascha Fahl
Hi, I am quite new to the lucene scene and I need your help :-) There are several document classes. Lets say documents from class A, B, C, D and E. What I need is the following: 1) I want to search over all classes together. So the query should hit results from all different classes - ideall