I'm looking on master on git hub, the solrj tests assume never use aliases
Just as an example. that’s all over the place in the tests

https://github.com/apache/lucene-solr/blob/master/solr/solrj/src/test/org/apache/solr/client/solrj/io/stream/StreamDecoratorTest.java

@Test
  public void testTerminatingDaemonStream() throws Exception {
    Assume.assumeTrue(!useAlias);

-----Original Message-----
From: Joel Bernstein <joels...@gmail.com> 
Sent: Wednesday, May 13, 2020 1:11 PM
To: solr-user@lucene.apache.org
Subject: Re: using aliases in topic stream

*** WARNING ***
EXTERNAL EMAIL -- This message originates from outside our organization.


What version of Solr are you using? The topic stream in master seems to have 
the code in place to query aliases.

Joel Bernstein
http://joelsolr.blogspot.com/


On Wed, May 13, 2020 at 12:33 PM Nightingale, Jonathan A (US) < 
jonathan.nighting...@baesystems.com> wrote:

> Hi Everyone,
>
> I'm trying to run this stream and I get the following error
>
> topic(topics,collection1,
> q="classes:GXP/INDEX",fl="uuid",id="feed-8",initialCheckpoint=0,checkp
> ointEvery=-1)
>
> {
>   "result-set": {
>     "docs": [
>       {
>         "EXCEPTION": "Slices not found for collection1",
>         "EOF": true,
>         "RESPONSE_TIME": 6
>       }
>     ]
>   }
> }
>
> "collection1" is an alias. I can search using the alias perfectly 
> fine. In fact the search stream operation works fine with the alias. 
> It's just this topic one I've seen so far. Does anyone know why this is?
>
> Thanks!
> Jonathan Nightingale
>
>

Reply via email to