lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shalin Shekhar Mangar <shalinman...@gmail.com>
Subject Re: filter query parsing problem
Date Wed, 20 Jan 2010 08:08:22 GMT
On Tue, Jan 19, 2010 at 3:10 AM, Ahmet Arslan <iorixxx@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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message