lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From EwanH <drldgt...@sneakemail.com>
Subject Facet search field returning results on split words
Date Fri, 04 Sep 2009 12:51:53 GMT

Hi

I have a solr search where a particular field named "location" is a place
name.  I have the field indexed and stored.  It is quite likely that a field
value could comprise more than one term or at least 2 words split by a space
such as "Burnham Market".  Now if I search on "location:burnham" I get the
appropriate docs returned ok but the facet results return

<lst name="location">
<int name="burnham">2</int>
<int name="thorp">2</int>
</lst>

i.e. values for both words which I don' want.  What can I do about this? 
Can I somehow escape the space when adding the data for indexing?

-- Ewan 
-- 
View this message in context: http://www.nabble.com/Facet-search-field-returning-results-on-split-words-tp25293787p25293787.html
Sent from the Solr - User mailing list archive at Nabble.com.


Mime
View raw message