When solr is activated, with SolrPhpClient r22, i am unable to search as i get an error message:

An error occurred while trying to search with Solr: "400" Status: Bad Request: Bad RequestApache Tomcat/7.0.28 - Error report


HTTP Status 400 - sort param field can't be found: ds_changed


type Status report

message sort param field can't be found: ds_changed

description The request sent by the client was syntactically incorrect (sort param field can't be found: ds_changed).



Apache Tomcat/7.0.28

.

Comments

nathan_czh’s picture

Priority: Major » Minor
Status: Active » Closed (fixed)
bright_ideas’s picture

How is this fixed? I too am getting this errors in log. I am new to drupal & solr

nathan_czh’s picture

It was my solr server.
What are your recruiter, drupal, solr and search API version? What operating system is the drupal/ solr server on?

bright_ideas’s picture

Thanks for the reply and Merry x'Mas.

Below are the versions,
solr-spec: 4.0.0.2012.06.25.15.26.16
Recruiter: 7.x-1.0-rc1
OS: ubuntu 12.04
search API Solr search: 1.0, RC 2 (05/23/2012):

Regards
Dushyant Joshi

nathan_czh’s picture

When do you get the error? When you try to index the content, or when you search for it?

bright_ideas’s picture

In the front end when I search for something means click on "Job Search" and "Resume Search"

nathan_czh’s picture

Try creating a new index and reconfiguring it. I am not very sure what is going on, and am sorry I am not able to help as much as I would like.

bright_ideas’s picture

Thanks very much however

bright_ideas’s picture

I forgot to copy the solr configuration files (schema.xml, solrconfig.xml) from the module to my solr conf directory. Thanks nathan_czh