Eileen Mosch created SOLR-13698:
-----------------------------------

             Summary: Calling Suggester via Alias fails
                 Key: SOLR-13698
                 URL: https://issues.apache.org/jira/browse/SOLR-13698
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Suggester
    Affects Versions: 8.1.1, 8.2
            Reporter: Eileen Mosch
         Attachments: http_suggester_stacktrace.json

There's a problem using a multi-collection alias in combination with suggester 
request. We used version 7.3.1 and had no problems, after upgrading to version 
8.x exceptions are thrown.

*Details*

I created an alias called „WORLD“ pointing to six collections.

 
{code:java}
// aliases.json
{"collection":{
    "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"}
}
{code}
If I send a {{/suggest}} request using SolrJClient with "WORLD" 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]“ (see full 
stacktrace attached)
{code:java}
// HTTP API Suggester Call
http://[myIP]:8983/solr/WORLD/suggest?suggest=true&suggest.q=Rue%20Roi%20Albert&suggest.dictionary=streetSuggester&suggest.dictionary=streetSuggesterFuzzy&suggest.build=true
{code}
 If I use single-collection Aliases (e.g. "DE") everything is fine.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to