It worked! Thanks Henrib!

2008/9/15 Henrib <[EMAIL PROTECTED]>

>
> Hi,
> If you are sure that you did index your documents through the intended
> core,
> it might be that your solrconfig.xml does not use the 'dataDir' property
> you
> declared in solr.xml for your 2 cores.
>
> The shopping & tourims solconfig.xml should have a line stating:
> <dataDir>${dataDir}</dataDir>
>
> And *not* the default:
> <dataDir>${solr.data.dir:./solr/data}</dataDir>
> Which will make both cores use the same index.
>
> Hope this helps,
> Henrib
>
>
> rogerio.araujo wrote:
> >
> > Hi!
> >
> > I have a multicore installation with the following configuration:
> >
> > <solr persistent="false">
> >   <cores adminPath="/admin/cores">
> >     <core name="shopping" instanceDir="shopping">
> >         <property name="dataDir" value="/data/shopping" />
> >     </core>
> >     <core name="tourism" instanceDir="tourism">
> >         <property name="dataDir" value="/data/tourism" />
> >     </core>
> >   </cores>
> > </solr>
> >
> > Each core uses different schemas, I indexed some docs shopping core and a
> > few others on tourism core, when I send a query "a*" to tourism core I'm
> > getting docs from shopping core, this is the expected behaviour? Should I
> > define a "core" field on both schemas and use this field as filter, like
> > we
> > have
> > here<
> http://wiki.apache.org/solr/MultipleIndexes#head-9e6bee989c8120974eee9df0944b58a28d489ba2
> >,
> > to avoid it?
> >
> > --
> > Regards,
> >
> > Rogério (_rogerio_)
> >
> > [Blog: http://faces.eti.br] [Sandbox: http://bmobile.dyndns.org]
> [Twitter:
> > http://twitter.com/ararog]
> >
> > "Faça a diferença! Ajude o seu país a crescer, não retenha conhecimento,
> > distribua e aprenda mais."
> > (http://faces.eti.br/2006/10/30/conhecimento-e-amadurecimento)
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Sending-queries-to-multicore-installation-tp19486412p19489077.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


-- 
Regards,

Rogério (_rogerio_)

[Blog: http://faces.eti.br] [Sandbox: http://bmobile.dyndns.org] [Twitter:
http://twitter.com/ararog]

"Faça a diferença! Ajude o seu país a crescer, não retenha conhecimento,
distribua e aprenda mais."
(http://faces.eti.br/2006/10/30/conhecimento-e-amadurecimento)

Reply via email to