This comes up as an error whenever I load the page. I am unfamiliar with what this could mean. I am using this installation profile out of the box. Has anyone had a similar experience with means to resolve?

Cheers!
-Mark

Comments

mark.labrecque’s picture

Actually, this message seems to only appear when I select the Job Search tab. is it a search error?

Adam S’s picture

You need to actually have the Apache Solr server set up on you machine for this to work. Apache Solr has nothing to do with Drupal.

You will need the Java JDK 1.6 which is the Developer Kit for Java.

If you are on windows edit the 'Environmental Variables' which you can find by using the search field in the Start menu. Find the path variable or create it if it doesn't exist. The path variables are separated by a semicolon ; . Add the path to Java Bin directory which in my case is c:\Program Files\java\jdk1.6.0\bin;c:\wamp\programs\ant\bin;C:\Program Files (x86)\QuickTime\QTSystem\. Type java -version in the CMD prompt to make sure it's correct.

You will need to download Apache ANT which like the JAVA JDK will need the path variable set. This is used to build the Solr server.

Download the Solr server and put it anywhere except the Apache webroot directory. There are instruction in the readme.txt file in the Search API module about copying two files to the override the configuration files in the example of Apach Solr. Just copy, paste and override those two files. Open another CMD prompt and go to /solr/example and run java -jar start.jar. The Command line prompt needs to remain open.

Once that is all done the Solr server needs to be set in Drupal. At admin/config/search/search_api/server/apache_solr/edit set

Solr host: localhost
Solr port: 8983
Solr path: /solr

This took me about twenty minutes of reading the tutorials on the web to figure out.

If this is too much trouble, you can always enable the database Search API module and create a new Server, call it Database and configure the either index to use the database instead.

klausi’s picture

Category: bug » support
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kaizerking’s picture

You are great Adam
I was worried on this Solr requirement,and your explanation made it very simple. Thanks

kaizerking’s picture

Issue tags: +Apply now

Hi How did you configure Apply now ? I am not getting any way to implement this

gabocharrua’s picture

Adam, sorry to bother you, will you be willing to make a step-by-step tutorial on how to install the solr thing? I don't know anything about java or Apache. But i can definitely follow a tutorial and make it happen. I already download the Java JDK but i cant figure anything else. I aa trying to use recruiter too but i am stuck on the solr thing. I can't figure the use for, i mean i need to install it on my PC? should be installed on the web server? how can i accomplish that? please let me know if you can help with that. thank you very much in advance for your help

Adam S’s picture

@gabocharrua

If you are building on a test server you do not even need Solr to make it work. You can use the database Search API storage module. Enable that and create a new Search API server that uses the database. Then configure the the two indexes to use the database instead of Solr. This should be enough. There will be extension modules for Search API solr that won't be able to use but they don't come with the Recruiter profile anyway. If your website becomes so popular that the database search is sluggish and slow you will because of the super popularity of your website afford to use a paid service like Websolr that now works with Search API Solr.