Re: Help with Embedded Server - SOLVED

2010-05-13 Thread Eric Berry
Thanks for all the help Lance. I was finally able to get it working by using a more complex initialization process: [code lang="groovy"] def solrHome = ConfigurationHolder.config.universitySearchService?.solrHome ?: "" def coreName = ConfigurationHolder.config.universitySearchService?.solrCore ?:

Re: Help with Embedded Server

2010-05-12 Thread Eric Berry
Hi Lance, On Wed, May 12, 2010 at 11:48 AM, Lance Norskog wrote: > The core name is set in solr.xml. > Ah. Ok. I'll look into that. > > Start with the example/multicore directory in the solr distribution. > This shows how to set up multiple cores. > Do I need to set up multiple cores to use

Re: Help with Embedded Server

2010-05-12 Thread Lance Norskog
The core name is set in solr.xml. Start with the example/multicore directory in the solr distribution. This shows how to set up multiple cores. Also, spaces in URLs are translated as + signs, and maybe translated back. People generally use alphanumeric and underscore names for cores; these work b

Re: Help with Embedded Server

2010-05-11 Thread Eric Berry
Hi Lance, On Mon, May 10, 2010 at 5:43 PM, Lance Norskog wrote: > > It thinks you are talking to a core named 'Universities'. If this does > not help, you could post the code that opens the SolrServer and > creates the query object. > > It's looking for a core named "Universities - Embedded Sol

Re: Help with Embedded Server

2010-05-10 Thread Lance Norskog
This is the underlying exception: > Caused by: org.apache.solr.common.SolrException: No such core: Universities > - Embedded Solr Server >at > org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:104) >at > org.apache.solr.client.solrj.request.QueryReques

Help with Embedded Server

2010-05-10 Thread Eric Berry
Hello, I'm running into an exception when I try to search against the example index provided with the Solr download. I have created a grails application where I want to embed the Solr server. I'm using Solr 1.4.0. [exception] Caused by: org.apache.solr.client.solrj.SolrServerException: Error e