lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <markus.jel...@openindex.io>
Subject Re: difference between filter_queries and parsed_filter_queries
Date Tue, 08 Feb 2011 15:01:44 GMT
Hi,

The parsed_filter_queries contains the value after it passed through the 
analyzer. In this case it remains the same because it was already lowercased 
and no synonyms were used.

You're also using single quotes, these have no special meaning so you're 
searching for 'noida' in the first and noida in the second fq.

Cheers,

On Tuesday 08 February 2011 15:52:23 Bagesh Sharma wrote:
> Hi everybody, please suggest me what's the difference between these two
> things. After what processing on filter_queries the parsed_filter_queries
> are generated.
> 
> Basically ....... when i am searching city as fq=city:'noida'
> 
> then filter_queries and parsed_filter_queries both are same as 'noida'.  In
> this case i do not get any result.
> 
> But when i do query like this  fq=city:"noida" then filter_queries is
> "noida" but parsed_filter_queries is noida and it matches with the city and
> i am getting correct results.
> 
> what processing is going on from filter_queries to parsed_filter_queries.
> 
> my schema for city is : -
> 
>  <fieldType name="facetstr_city" class="solr.TextField"
> sortMissingLast="true" >
> 	<analyzer>
> 		<tokenizer class="solr.KeywordTokenizerFactory" />
> 		<filter class="solr.SynonymFilterFactory"
> synonyms="synonyms_city_facet.txt" ignoreCase="true" expand="false" />
> 		<filter class="solr.LowerCaseFilterFactory" />
> 	</analyzer>
>     </fieldType>
> 
> please suggest me please.

-- 
Markus Jelsma - CTO - Openindex
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350

Mime
View raw message