: I'm not sure if I get what you are trying to achieve. What do you mean
: by "constraint"?

"constraint" it fairly standard terminology when refering to facets, it's 
used extensively in our facet docs and is even listed on solr's glossary 
page (allthough not specificyly in hte context of faceting since it can 
be used more broadly then that)...

http://wiki.apache.org/solr/SolrTerminology

In a nutshell:

A facet is a way of classifying objects
A constraint is a viable way of limiting a set of objects

faceted search is a search where feedback on viable constraints 
(usually in the form of counts) is provided for each facet.  (ie: "facet 
counts" or "constraint counts" ... the terms are both used relatively 
loosely)

: > I'm trying to use facet's via widget's within Ajax-Solr. I have tried the
: > wiki for general help on configuring facets and constraints and also
: > attended the recent Lucidworks webinar on faceted search. Can anyone
: > please direct me to some reading on how to formally configure facets for
: > searching.

the beauty of faceting in solr is that it doesn't have ot be formally 
configured -- you can specify it all at query time using request params as 
long as the data is indexed...

http://wiki.apache.org/solr/SolrFacetingOverview
http://wiki.apache.org/solr/SimpleFacetParameters

: > Topics < field
: >   Legislation < constraint
: >   Guidance/Policies < constraint
: >   Customer Service information/complaints procedure < constraint
: >   financial information < constraint

if you index a "Topic" field, and the topic field contains those field 
values as indexed terms, then you will get those constraints back using 
"facet.field=Topics"


-Hoss

Reply via email to