lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Berry <elbe...@gmail.com>
Subject Re: Help with Embedded Server
Date Wed, 12 May 2010 20:03:50 GMT
Hi Lance,

On Wed, May 12, 2010 at 11:48 AM, Lance Norskog <goksron@gmail.com> 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 an embedded server? I don't mind
doing this just trying to get the facts straight.

Again, I was using the first example on the wiki page:
http://wiki.apache.org/solr/Solrj#EmbeddedSolrServer

The example doesn't specify a core name, or the use of solr.xml, it simply
sets 'solr.solr.home' as a system property and then initializes the embedded
server.

Doing this doesn't seem to work when I point 'solr.solr.home' at the
example/solr directory. The data I had previously posted to the standalone
server was no longer present.


>
> Also, spaces in URLs are translated as + signs, and maybe translated
> back. People generally use alphanumeric and underscore names for
> cores; these work better as URLs.
>

Indeed. I did not know that the core names were used in URLs, now that I
know that I will use more URL friendly core names.

Thanks,
Eric

-- 
Learn from the past. Live in the present. Plan for the future.
Blog: http://www.townsfolkdesigns.com/blogs/elberry
jEdit <http://www.jedit.org> - Programmer's Text Editor
Bazaar <http://bazaar.canonical.com> - Version Control for Humans

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message