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

Reply via email to