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 Eileen Mosch <ei...@logiball.de> on 2019/08/13 12:43:53 UTC

Problem with Solr alias and suggester call

Hi all,

we updated Solr from version 7.3.1 to version 8.1.1 and detected a problem requesting suggesters via multi-collection alias. It also exists in version 8.2.0. I think it is a bug but maybe someone can verify this?

I created an alias called „WORLD“ pointing to six collections. If I send a /suggest request using SolrClient I get the error message: „No live SolrServers available to handle this request:[http://[myIP]:8983/solr/WORLD“. If I try to call /suggest via Solr HTTP API, I get „Timeout occured while waiting response from server at: http://[myIP]:8983/solr/AT.test_shard1_replica_n1/suggest“

If I use single-collection Aliases everything is fine.

Kind Regards,
Eileen

Here are the details:

Alias creation request:

  *   http://localhost:8983/solr/admin/collections?action=CREATEALIAS&name=WORLD&collections=AT.test,BE.test,DE.test,FR.test,LU.test,NL.test

aliases.json content:
{
  "responseHeader":{
    "status":0,
    "QTime":0},
  "aliases":{
    "AT":"AT.test",
    "BE":"BE.test",
    "DE":"DE.test",
    "FR":"FR.test",
    "LU":"LU.test",
    "NL":"NL.test",
    "WORLD":"AT.test,BE.test,DE.test,FR.test,LU.test,NL.test"},
  "properties":{}
}

Suggester call via http API

  *   http://localhost:8983/solr/WORLD/suggest?suggest=true&suggest.q=Rue%20Roi%20Albert&suggest.dictionary=streetSuggester&suggest.dictionary=streetSuggesterFuzzy&suggest.build=true

Response/Stacktrace of http call:

  *   see attachement


---------------------------------------------------------------------------
LOGIBALL GmbH

B.Sc. Kartographie und Geomatik Eileen Mosch
Senior Software Engineer

Am Studio 2a
12489 Berlin
Germany
phone:
 +49.30.6392.802.42
email:
 eileen.mosch@logiball.de<ma...@logiball.de>
internet:
 http://www.logiball.de

MD: Dr.-Ing. Roger Müller
AG Bochum, HRB 9402
Tax.-Nr: 325/5837/0464
VAT.-Nr.: DE 164887900

Die Information in dieser eMail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Jeglicher Zugriff auf diese eMail durch andere Personen als den Adressaten ist untersagt. Sollten Sie nicht der für diese eMail bestimmte Adressat sein, ist Ihnen jede Veröffentlichung, Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt.
The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.