You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jörg Agatz <jo...@googlemail.com> on 2010/08/12 20:09:48 UTC
Results from More then One Cors?
Hallo Users...
I tryed to get results from more then one Cores..
But i dont know how..
Maby you have a Idea..
I need it into PHP
King
different pdf version issue
Posted by "Ma, Xiaohui (NIH/NLM/LHC) [C]" <xi...@mail.nlm.nih.gov>.
I have a problem to index pdf files which are pdf version 1.5 or 1.6. There is no problem at all for me to index pdf files with version 1.4.
Here is the error I got:
<h2>HTTP ERROR: 500</h2><pre>org.apache.tika.exception.TikaException: Unexpected RuntimeException from org.apache.tika.parser.pdf.PDFParser@44ffb2
Does anyone have this problem when you indexed pdf files?
Thanks so much in advance,
Xiaohui
Re: Results from More then One Cors?
Posted by Jörg Agatz <jo...@googlemail.com>.
ok, works Great, at the Beginning, but now i get a Big 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)
Re: Results from More then One Cors?
Posted by Janne Majaranta <ja...@gmail.com>.
Hi Jörg,
You can use the "shards" parameter to search the cores you want.
For example, say you have core0, core1, core2. You want to have results from
all the cores.
Then you could use the following example URL:
http://localhost:8983/solr/core0/select?q=*:*&sort=myfield+desc&shards=localhost:8983/solr/core0,localhost:8983/solr/core1,localhost:8983/solr/core2
The core name you choose for the http://localhost:8983/solr/coreX part of
the Uri doesn't matter. The distributed search feature will use only the
cores you specify with the "shards" parameter.
This will give you a transparent view of the indexes you have in the
separate cores.
Prost! Und viel Glück ;)
- Janne
2010/8/13 Jörg Agatz <jo...@googlemail.com>
> Sorry..
>
>
> I tryed it with more Details :-)..
>
>
> So i have a lot of cors.. 10 to 20... now i search a way to get results
> from
> 5 to ten Cors at the same time..
> i need to sort ol results need view facet search out of the 10 cors at the
> same time.
>
> So one query, one server with 20 Corrs and o result with the results from
> all 20 Corrs..
>
> i hope my question is clearly.. my english is not the best.. Sorry
>
Re: Results from More then One Cors?
Posted by Jörg Agatz <jo...@googlemail.com>.
Sorry..
I tryed it with more Details :-)..
So i have a lot of cors.. 10 to 20... now i search a way to get results from
5 to ten Cors at the same time..
i need to sort ol results need view facet search out of the 10 cors at the
same time.
So one query, one server with 20 Corrs and o result with the results from
all 20 Corrs..
i hope my question is clearly.. my english is not the best.. Sorry
Re: Results from More then One Cors?
Posted by Erick Erickson <er...@gmail.com>.
There is no information to go on here. Please review
http://wiki.apache.org/solr/UsingMailingLists
and add some more details...
Best
Erick
On Thu, Aug 12, 2010 at 2:09 PM, Jörg Agatz <jo...@googlemail.com>wrote:
> Hallo Users...
>
> I tryed to get results from more then one Cores..
> But i dont know how..
>
> Maby you have a Idea..
>
> I need it into PHP
>
> King
>