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

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