> 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.