Multicore Search broken

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Multicore Search broken

Jörg Agatz
Hallo users,

I have create a Multicore instance from Solr with Tomcat6,
i create two Cores "mail" and "index2" at first, mail and index2 are the
Same config, after this, i change the Mail config and Indexing 300000 xml

No when i search in each core:

http://localhost:8080/solr/mail/select?q=*:*&shards=localhost:8080/solr/mail,localhost:8080/solr/<http://localhost:8983/solr/core0/select?q=*:*&sort=myfield+desc&shards=localhost:8983/solr/core0,localhost:8983/solr/core1,localhost:8983/solr/core2>
index2

i get a Error

______________________________


HTTP Status 500 - null java.lang.NullPointerException at
org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:462)
at
org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:298)
at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:290)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
______________________________


when i search in one of the Cores, it works,
http://localhost:8080/solr/mail/select?q=*:*<http://localhost:8983/solr/core0/select?q=*:*&sort=myfield+desc&shards=localhost:8983/solr/core0,localhost:8983/solr/core1,localhost:8983/solr/core2>
=
300000 results
http://localhost:8080/solr/index2/select?q=*:*<http://localhost:8983/solr/core0/select?q=*:*&sort=myfield+desc&shards=localhost:8983/solr/core0,localhost:8983/solr/core1,localhost:8983/solr/core2>
 =
one result


Someone hase a Idea, what is Wrong ?
Reply | Threaded
Open this post in threaded view
|

Re: Multicore Search broken

Jörg Agatz
I have tryed some Thinks, now i have new news,

when i search in :
http://localhost:8080/solr/mail/select?q=*:*&shards=localhost:8080/solr/mail,localhost:8080/solr/<http://localhost:8983/solr/core0/select?q=*:*&sort=myfield+desc&shards=localhost:8983/solr/core0,localhost:8983/solr/core1,localhost:8983/solr/core2>
mail
it works, so it looks that it is not a Problem with the JAVA or something
like this,

i have a Idea, it is Possible, that the diferences configs?

pleas, when you have an idea, than told me this...
Reply | Threaded
Open this post in threaded view
|

Re: Multicore Search broken

Lance Norskog-2
All of the cores have to have the same schema. And, they should not
have any documents in common.


On Thu, Dec 16, 2010 at 8:36 AM, Jörg Agatz <[hidden email]> wrote:

> I have tryed some Thinks, now i have new news,
>
> when i search in :
> http://localhost:8080/solr/mail/select?q=*:*&shards=localhost:8080/solr/mail,localhost:8080/solr/<http://localhost:8983/solr/core0/select?q=*:*&sort=myfield+desc&shards=localhost:8983/solr/core0,localhost:8983/solr/core1,localhost:8983/solr/core2>
> mail
> it works, so it looks that it is not a Problem with the JAVA or something
> like this,
>
> i have a Idea, it is Possible, that the diferences configs?
>
> pleas, when you have an idea, than told me this...
>



--
Lance Norskog
[hidden email]