At a glance, you may really be seeing recursive calls. What does the
solr log (rather than the client) say is happening?

Any call that comes into /filesearch will make a call to...
./filesearch perhaps?

What is your goal here? You say you're "testing distributed search".
But what do you mean by that? There are two
bits here:

1> you really mean the entire index is contained in a single core and
you want multiple cores to handle increased QPS. This isn't done by
messing with the shards parameter, since each core is a complete
index. People usually just put a load balancer in front of the slaves
(if using master/slave) or just use SolrCloud with a number of
replicas and let Solr do the work.

2> You want to use a sharded solution because you have too much data
to be handled by a single core. In that case I would _strongly_
recommend you just use SolrCloud. That would "just work" without this
kind of tweaking.

Best,
Erick

On Wed, Jun 27, 2018 at 11:01 PM, Adarsh_infor <hd.ada...@infor.com> wrote:
> Hi All,
>
> I was running SOLR 4.6.1 in master slave architecture on Windows machine,
> Now am planning to migrate that to Linux and upgrade the SOLR 6.6.3
> version(Remember only the Configs and schema will be migtrated not data). In
> the process of doing so i had to do some changes to Schema and Config in
> order to create a core without an issue, after creating the core i was
> getting a warning like the LUCENE_40 support will be removed from 7 so need
> to change it. So in order to fix that warning i have changed it
> `<luceneMatchVersion>6.6.3</luceneMatchVersion>`.  After which using *DIH*
> i indexed certain documents and was able to query them by using default
> `/select` request handler. But i wanted to test the distributed search so in
> order to test that . i have created one more core in the same server, which
> is having a below requestHandler defined in config.xml
>
> <requestHandler name="/filesearch" class="solr.SearchHandler">
>    <lst name="defaults">
>    <str name="q.alt">*:*</str>
>    <str name="shards">localhost:8983/solr/FI_idx</str>
>    <str name="df">document</str>
>    </lst>
> </requestHandler>
>
> Core *FI_idx* is the core which is having the indexed data in it, with
> `<luceneMatchVersion>6.6.3</luceneMatchVersion>` but when query using
> requestHandler `/filesearch` and getting below error could anyone help to me
> to understand whats happening.
>
>
>
> "trace":
> "org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error
> from server at http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx: Error from server at
> http://localhost:8983/solr/FI_idx:
> org.apache.solr.client.solrj.SolrServerException: IOException occured when
> talking to server at: http://localhost:8983/solr/FI_idx\n\tat
> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:560)\n\tat
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:235)\n\tat
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:227)\n\tat
> org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1220)\n\tat
> org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:218)\n\tat
> org.apache.solr.handler.component.HttpShardHandler$1.call(HttpShardHandler.java:183)\n\tat
> java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat
> java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:148)\n\tat
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\n\tat
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\n\tat
> java.lang.Thread.run(Thread.java:745)\n",
>     "code": 500
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to