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 gopi krishna <dh...@gmail.com> on 2019/07/01 03:54:43 UTC

SOLR post query fails for alias names - SOLR 7

Hi,

We are upgrading solr from 4.x to 7.4.0

The way we query solr is using /select path and collection alias name
through http POST method as the query length is larger.

In version 4.x it was working fine.

But in 7.4.0 it fails with below exception



SolrException: Could not find collection : alias_name (Clusterstate.java)

Code snippet:

QueryRequest q = new QueryRequest(params,METHOD.POST)

The same is working if the method is selected as default ( which is GET)

Queryrequest q = new
Queryrequest(params)

Please help on this issue.

Thanks,
Gopi