Hi Bruno,

Maybe this helps. I wrote something about it:
http://www.coderthing.com/solr-with-multicore-and-database-hook-part-1/

Dariusz



On Tue, Jan 15, 2013 at 9:52 AM, Bruno Dusausoy <bdusau...@yp5.be> wrote:

> Hi,
>
> I'd like to use two separate indexes (Solr 3.6.1).
> I've read several wiki pages and looked at the multicore example bundled
> with the distribution but it seems I missing something.
>
>
> I have this hierarchy :
> solr-home/
> |
> -- conf
>   |
>    -- solr.xml
>    -- solrconfig.xml (if I don't put it, solr complains)
>    -- schema.xml (idem)
>    -- ...
> |
> -- cores
>   |
>   -- dossier
>     |
>      -- conf
>        |
>         -- dataconfig.xml
>         -- schema.xml
>         -- solrconfig.xml
>     |
>      -- data
>   |
>   -- procedure
>     |
>      -- conf
>        |
>         -- dataconfig.xml
>         -- schema.xml
>         -- solrconfig.xml
>     |
>      -- data
>
> Here's the content of my solr.xml file :
> http://paste.debian.net/**224818/ <http://paste.debian.net/224818/>
>
> And I launch my servlet container with -Dsolr.solr.home=my-directory/**
> solr-home.
>
> I've put nearly nothing in my solr-home/conf/schema.xml so Solr complains,
> but that's not the point.
>
> When I go to the admin of core "dossier",
> http://localhost:8080/solr/**dossier/admin<http://localhost:8080/solr/dossier/admin>,
> the container says it doesn't exist.
> But when I go to 
> http://localhost:8080/solr/**admin<http://localhost:8080/solr/admin>it finds 
> it, which makes me guess that Solr is stil in "single core" mode.
>
> What am I missing ?
>
> Regards.
> --
> Bruno Dusausoy
> Software Engineer
> YP5 Software
> --
> Pensez environnement : limitez l'impression de ce mail.
> Please don't print this e-mail unless you really need to.
>

Reply via email to