On Tue, Jan 19, 2010 at 3:10 AM, Ahmet Arslan <iori...@yahoo.com> wrote:

> > I am submitting a query and it seems
> > to be parsing incorrectly.  Here
> > is the query with the debug output.  Any ideas what
> > the problem is:
> >
> > <arr name="filter_queries">
> >   <str>
> >     ((VLog:814124 || VLog:12342) &&
> > (PublisherType:U || PublisherType:A))
> >   </str>
> > </arr>
> > <arr name="parsed_filter_queries">
> >     <str>+(VLog:814124 VLog:12342)
> > +PublisherType:u</str>
> > </arr>
> >
> > I would have thought that the parsed filter would have
> > looked like this:
> >         <str>+(VLog:814124
> > VLog:12342) +(PublisherType:u PublisherType:a)</str>
>
> It seems that stopfilterfactory is eating A which is a stop word. You can
> remove stopfilterfactory from analyzer chain of type of PublisherType. Or
> you can remove entry a from stopwords.txt.
>
>
If they are really filter queries i.e. specified through "fq" then they will
not be run through an analyzer.

-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to