Hi Lance,

On Wed, May 12, 2010 at 11:48 AM, Lance Norskog <goks...@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

Reply via email to