Newbie: PerFieldAnalyzerWrapper or Build a dynamic BooleanQuery

2004-02-08 Thread David Black
I'm having difficulty understanding a couple of things and I appreciate any help here. Let's assume I have an object that is composed of the following fields... UID: 434 (Keyword/Stored) TITLE: "Java For Dum Dums" (Text/Stored) AUTHOR: "Fred Smith" - Text/Stored DESCRIPTION: "Th

Re: Search Refinement Approaches

2004-02-08 Thread Ramy Hardan
Sunday, February 8, 2004, 4:19:59 AM, Erik Hatcher wrote: > On Feb 7, 2004, at 5:32 PM, Ramy Hardan wrote: >> Is there an efficient way to search refinement preferably without >> losing the Hits class? > I'm not quite following your Filter questions, but QueryFilter seems to > fit the bill for wh

Re: Search Refinement Approaches

2004-02-08 Thread Dror Matalon
Hi Ramy, Maybe I'm misunderstand the question but wouldn't creating a that ANDs the original query and the new one do what you want? so if the original query was foo bar and the refinment is blah create a new query that does: (foo bar) AND (bar) Seems a lot easier but maybe I'm missing some

Matching a single document

2004-02-08 Thread Chris Kimm
This may not fit any of Lucene's usage models, but is there a way to match a single document - before it has been indexed - to a query? The motivation for this is to add a listener to the IndexWriter which listens for documents matching existing Query objects. Two possible approaches, both of

Re: Nightly snapshots

2004-02-08 Thread Otis Gospodnetic
A problem with Gump, I believe. Otis --- Eric Jain <[EMAIL PROTECTED]> wrote: > How come there is no nightly snapshot newer than 2003-09-09 at > http://cvs.apache.org/builds/jakarta-lucene/nightly/? > > > - > To unsubscribe, e-

Re: Search Refinement Approaches

2004-02-08 Thread Ramy Hardan
Hello Dror, Sunday, February 8, 2004, 7:35:32 PM, you wrote: > Hi Ramy, > Maybe I'm misunderstand the question but wouldn't creating a > that ANDs the original query and the new one do what you want? You are absolutely right. This approach would yield the desired result. But what I'm concerned

Re: Newbie: PerFieldAnalyzerWrapper or Build a dynamic BooleanQuery

2004-02-08 Thread Erik Hatcher
On Feb 8, 2004, at 11:13 AM, David Black wrote: Let's assume I have an object that is composed of the following fields... UID: 434 (Keyword/Stored) TITLE: "Java For Dum Dums" (Text/Stored) AUTHOR: "Fred Smith" - Text/Stored DESCRIPTION: "This would be a big long field" - Text/Un

Re: Newbie: PerFieldAnalyzerWrapper or Build a dynamic BooleanQuery

2004-02-08 Thread David Black
Thank you very much from the response...it was very helpful. After playing around some more, I figured out that my Keyword fields DO get indexed which is why they can be retrieved with a Term query regardless of the analyzer at index time. The problem I discovered was that using a search anal