Re: Multiple-field queries

2006-10-14 Thread Chris Hostetter
: problematic with fields built from a Reader, because the Reader gets closed : after the first field is indexed (and using a cloned Reader would require : running a text extractor twice, which sounds wasteful of CPU cycles). : : Would it be possible to add to the API some method to add in on stro

Multiple-field queries

2006-10-14 Thread Enzo Michelangeli
I need to be able to search over multiple fields at the same time. The suggestions I have seen so far to solve this problem are either: 1. Use a boolean query, or 2. During indexing, create an extra "all" field and add it every time another field is added to the document. However, 1. may make