Re: Using AND with MultiFieldQueryParser

2008-11-17 Thread Rafael Cunha de Almeida
On Mon, 17 Nov 2008 16:29:29 -0200 Rafael Cunha de Almeida <[EMAIL PROTECTED]> wrote: > On Mon, 17 Nov 2008 13:07:35 -0200 > Rafael Cunha de Almeida <[EMAIL PROTECTED]> wrote: > > > On Thu, 13 Nov 2008 12:12:17 -0500 > > Matthew Hall <[EMAIL PROTECTED]> wrote: > > > > > Which Analyzer have you a

Re: Using AND with MultiFieldQueryParser

2008-11-17 Thread Rafael Cunha de Almeida
On Mon, 17 Nov 2008 13:07:35 -0200 Rafael Cunha de Almeida <[EMAIL PROTECTED]> wrote: > On Thu, 13 Nov 2008 12:12:17 -0500 > Matthew Hall <[EMAIL PROTECTED]> wrote: > > > Which Analyzer have you assigned per field? > > > > The PerFieldAnalyzerWrapper uses a default analyzer (the one you passed

Re: Using AND with MultiFieldQueryParser

2008-11-17 Thread Rafael Cunha de Almeida
On Thu, 13 Nov 2008 12:12:17 -0500 Matthew Hall <[EMAIL PROTECTED]> wrote: > Which Analyzer have you assigned per field? > > The PerFieldAnalyzerWrapper uses a default analyzer (the one you passed > during its construction), and then you assign specific analyzers to each > field that you want t

Re: Using AND with MultiFieldQueryParser

2008-11-13 Thread Matthew Hall
Which Analyzer have you assigned per field? The PerFieldAnalyzerWrapper uses a default analyzer (the one you passed during its construction), and then you assign specific analyzers to each field that you want to have special treatment. For example: PerFieldAnalyzerWrapper aWrapper = n

Re: Using AND with MultiFieldQueryParser

2008-11-13 Thread Rafael Cunha de Almeida
On Thu, 13 Nov 2008 14:53:59 +0530 "prabin meitei" <[EMAIL PROTECTED]> wrote: > Hi, > From whatever you have written you are trying to write a query > *word1 AND stopword AND word2 > *this means that the result should contain all of word1, word2 and the > stopword. > > Since you have already remo

Re: Using AND with MultiFieldQueryParser

2008-11-13 Thread prabin meitei
Hi, >From whatever you have written you are trying to write a query *word1 AND stopword AND word2 *this means that the result should contain all of word1, word2 and the stopword. Since you have already removed the stopword during index time you will never find any document matching your query. (th