Re: Searching without a specified field

2004-08-11 Thread Patrick Burleson
Erik, Thank you for the fast response. After reading through the FAQ and JavaDoc, it appears that it what I really want to do. Patrick On Wed, 11 Aug 2004 15:08:03 -0400, Erik Hatcher <[EMAIL PROTECTED]> wrote: > I suggest you aggregate all the text you want searchable into a single > field duri

Re: Searching without a specified field

2004-08-11 Thread Erik Hatcher
I suggest you aggregate all the text you want searchable into a single field during indexing. Then search that field at query time instead. The alternative is to build up a (potentially huge) BooleanQuery using that string for each field. The MultiFieldQueryParser can do this, but its not pre

Searching without a specified field

2004-08-11 Thread Patrick Burleson
I would like to build a search that takes a string and parses it, then uses that string to search all fields available in the index. Is that possible without building up a huge boolean query of all my fields? I may not know the field names at runtime. Thanks, Patrick -