Hi,

please note, that the FacetComponent is one of the six search components that are automatically associated with solr.SearchHandler (this holds also for the QueryComponent).

Another note: By using name="components" all default components will be replaced by the components you explicitly mentioned (i.e., QueryComponent and FacetComponent in your example). To avoid this, use name="last-components" instead.

-Sascha

Jean-Sebastien Vachon wrote:
Is the FacetComponent loaded at all?

<requestHandler name="standard" class="solr.SearchHandler" default="true">
   <arr name="components">
       <str>query</str>
       <str>facet</str>
    </arr>
</requestHandler>


On 2010-05-25, at 3:32 AM, Sascha Szott wrote:

Hi Birger,

Birger Lie wrote:
I don't think the bolean fields is mapped to "on" and "off" :)
You can use true and on interchangeably.

-Sascha



-birger

-----Original Message-----
From: Ilya Sterin [mailto:ster...@gmail.com]
Sent: 24. mai 2010 23:11
To: solr-user@lucene.apache.org
Subject: Faceted search not working?

I'm trying to perform a faceted search without any luck.  Result set doesn't 
return any facet information...

http://localhost:8080/solr/select/?q=title:*&facet=on&facet.field=title

I'm getting the result set, but no face information present?  Is there 
something else that needs to happen to turn faceting on?

I'm using latest Solr 1.4 release.  Data is indexed from the database using 
dataimporter.

Thanks.

Ilya Sterin




Reply via email to