lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter McPeterson" <give2me...@hotmail.com>
Subject Faceted search glitch???
Date Fri, 09 Feb 2007 21:21:41 GMT
On Solr, I'm indexing a facet field which contains different values on each 
record (of course) but it doesn't seem to be working the way I had expected. 
For instance:

When looking for:
http://localhost:8983/solr/select/?q=sales&facet=true&facet.field=education_facet

it returns the facet:
'education_facet'=>{
	 'Bachelor'=>20,
	 'Associate'=>35,
	 'Doctorate'=>1,
	 'High School'=>150,
	 'Law Degree'=>0,
	 'Master'=>0}

but when I modify my query to look for High School:
http://localhost:8983/solr/select/?q=sales+AND+education_facet:High+School&facet=true&facet.field=education_facet

it returns nothing. But when I use single-word fields such as Bachelor or 
Associate it works fine.

Any idea?

Thanks a lot

_________________________________________________________________
Check out all that glitters with the MSN Entertainment Guide to the Academy 
Awards®   http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline2


Mime
View raw message