Hmmm, so you are you pinging the servers directly, right?
Here's a couple of things to try:
1> add &distrib=false to the query and try each of the 6 servers.
What I'm wondering is if this is happening on the sub-query sent
out or on the primary server. Adding &distrib=false will just execute
on the node you're sending it to, and will NOT send sub-queries out
to any other node so you'll get partial results back.

If one server continues to work but the other 5 fail, then your servlet
container is probably not set up with the right character sets. Although
why that would manifest itself on the ^ character mystifies me.

2> Let's assume that all 6 servers handle the raw query. Next thing that
would be really helpful is to see the sub-queries. Take &distrib=false
off and tail the logs on all the servers. What we're looking for here is
whether the sub-queries even make it to Solr or whether the problem
is in your container.

3> If the sub-queries do NOT make it to the Solr logs, what is the query
that the container sees? Is it recognizable or has Solr somehow munged
the sub-query?

What is your environment like? Tomcat? Jetty? Other? What JVM
etc?

Best,
Erick

On Tue, Dec 23, 2014 at 3:23 AM, S.L <simpleliving...@gmail.com> wrote:
> Hi All,
>
> I am using SolrCloud 4.10.1 and I have 3 shards with replication factor of
> 2 , i.e is 6 nodes altogether.
>
> When I query the server1 out of 6 nodes in the cluster with the below query
> , it works fine , but any other node in the cluster when queried with the
> same query results in a *HTTP Status 500 - {msg=Illegal character in query
> at index 181:*
> error.
>
> The character at index 181 is the boost character ^. I have see a Jira
> SOLR-5971 <https://issues.apache.org/jira/browse/SOLR-5971> for a similar
> issue , how can I overcome this issue.
>
> The query I use is below. Thanks in Advance!
>
> http://xxxxxx2.xxxxxxxx.com:8081/solr/dyCollection1_shard2_replica1/xxxxxxxx?q=xxxxx+xxxxx+xxxxxx&sort=score+desc&wt=json&indent=true&debugQuery=true&defType=edismax&qf=productName
> ^1.5+productDescription&mm=1&pf=productName+productDescription&ps=1&pf2=productName+productDescription&pf3=productName+productDescription&stopwords=true&lowercaseOperators=true

Reply via email to