lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: filter query parsing problem
Date Mon, 18 Jan 2010 21:40:14 GMT
> 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.


      

Mime
View raw message