Hi list,

I am working with a Ajax-Solr GUI but I am getting the following error from 
Firebug when launching the web app on Tomcat 7.0.11. The web app uses Solr 
version 1.4.1

>HTTP Status 400 - undefined field links</h1><HR size="1" 
>noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> 
><u>undefined field links</u></p><p><b>description</b> <u>The request sent by 
>the client was syntactically incorrect (undefined field links).

The facet details, as configured in Ajax-Solr are 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'

I tried configuring the above by adding the following snippet to the dismax 
requestHandler in solrconfig.xml as follows

     <str name="f.name.hl.alternateField">name</str>
     <str name="f.text.hl.fragmenter">regex</str> <!-- defined below -->
     <str name="facet.field">topics</str>
     <str name="facet.field">organisations</str>
     <str name="facet.field">exchanges</str>
     <str name="facet.field">countryCodes</str>
     <str name="facet.limit">20</str>
     <str name="facet.mincount">1</str>
     <str name="f.topics.facet.limit.">50</str>
     <str name="fcountryCodes.facet.limit.">-1</str>
     <str name="facet.date">date</str>
     <str name="facet.date.start">2000-01-01T00:00:00.000Z/DAY</str>
     <str name="facet.date.end">2011-03-21T00:00:00.000Z/DAY+1DAY</str>
     <str name="facet.date.gap">+1DAY</str>

But I am still getting the error. I am not clear about how and where to 
configure the facet details. Can anyone suggest how I can properly implement 
the facets that I want as I am unsure.

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