lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PeterKerk <>
Subject Re: finding exact case insensitive matches on single and multiword values
Date Fri, 03 Dec 2010 16:32:04 GMT

You are right, this is what I see when I append the debug query (very very
useful btw!!!) in old situation:
<arr name="parsed_filter_queries">
	<str>city:den title:haag</str>
	<str>PhraseQuery(themes:"hotel en restaur")</str>

I then changed the schema.xml to:

<fieldType name="myField" class="solr.TextField" sortMissingLast="true"
	<tokenizer class="solr.KeywordTokenizerFactory"/> 
	<filter class="solr.LowerCaseFilterFactory"/> 
<field name="city" type="myField" indexed="true" stored="true"/> <!-- used
to be "string" -->

I then tried adding parentheses:
also tried (without +):

Then I get:

<arr name="parsed_filter_queries">
	<str>city:den city:haag</str>

And still 0 results

But as you can see the query is split up into 2 separate words, I dont think
that is what I need?

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message