lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From PeterKerk <>
Subject Searching similar values for same field results in different results
Date Wed, 05 Jan 2011 15:47:23 GMT

Something weird is happening.

I have locations that can have 1 or more themes.
A theme can be: "Kasteel en Landgoed", or a theme can be "Strand en Zee"

I checked in the database, there are many locations that have 1 or more of
these themes assigned to it.

Also in the response xml when I do a general search I get:
<lst name="facet_counts">
<lst name="facet_queries"/>
<lst name="facet_fields">
<lst name="themes_raw">
	<int name="Hotel en Restaurant">366</int>
	<int name="Kasteel en Landgoed">153</int>    <----- 153 found
	<int name="Strand en Zee">16</int>	<----- 16 found

When I request this:
I get 16 results. Which is expected.

When I request this:
I get 0 results!!!


definition in schema.xml:

<field name="themes" type="text" indexed="true" stored="true"
multiValued="true"  />
<field name="themes_raw" type="string" indexed="true" stored="true"

<copyField source="themes" dest="themes_raw"/>

Why are these results differing?
View this message in context:
Sent from the Solr - User mailing list archive at

View raw message