I'm not sure if I get what you are trying to achieve. What do you mean by "constraint"?
Are you saying that you effectively want to filter the facets that are returned? e.g. for source field, you want to show html/pdf/email, but not, say xls or doc? Upayavira On Tue, 15 Mar 2011 15:38 +0000, "McGibbney, Lewis John" <lewis.mcgibb...@gcu.ac.uk> wrote: > Hello list, > > 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. > > Currently my facets are configured as follows > > 'facet.field': [ 'topics', 'organisations', 'exchanges', > 'countryCodes' ], > 'facet.limit': 20, > 'facet.mincount': 1, > 'f.topics.facet.limit': 50, > 'f.countryCodes.facet.limit': -1, > 'facet.date': 'date', > 'facet.date.start': '1987-02-26T00:00:00.000Z/DAY', > 'facet.date.end': '1987-10-20T00:00:00.000Z/DAY+1DAY', > 'facet.date.gap': '+1DAY', > 'json.nl': 'map' > > However I wish to change the fields to contain some constraints such as > > Topics < field > Legislation < constraint > Guidance/Policies < constraint > Customer Service information/complaints procedure < constraint > financial information < constraint > etc etc > > Source < field > html < constraint < constraint > pdf < constraint > email < constraint > etc etc > > Date < field > < constraint > > Basically I need resources to understand how to implement the above > instead of the example I currently have. > Some guidance would be great > Thank you kindly > > Lewis > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education’s Widening Participation Initiative of the > Year 2009 and Herald Society’s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education’s Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > --- Enterprise Search Consultant at Sourcesense UK, Making Sense of Open Source