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
?:
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
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
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
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
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