Re: HttpSolrCall CollectionRequest collection name
Just a single Solr instance. Colm. On Mon, May 22, 2017 at 2:47 PM, Susheel Kumarwrote: > Hi Colm, what do you mean when you refer to "Standalone Solr". Did you > setup Solr Cloud or just a single Solr instance? > > Thnx > > On Mon, May 22, 2017 at 8:50 AM, Colm O hEigeartaigh > wrote: > >> Hi all, >> >> Setup: Standalone Solr with a "demo" collection name >> >> In HttpSolrCall.getAuthCtx - it is creating a CollectionRequest where >> collectionRequest.collectionName == null when I call: >> >> curl http://localhost:8983/solr/demo/get?id=xyz >> >> Is there a reason why it doesn't try to extract the collection name from >> the path in HttpSolrCall.getAuthCtx for this scenario? If I have a custom >> authorization plugin, how can I see what the requested collection is in >> this case? >> >> Apologies in advance if I am missing something obvious here. >> >> Thanks, >> >> Colm. >> >> -- >> Colm O hEigeartaigh >> >> Talend Community Coder >> http://coders.talend.com >> > > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
Re: HttpSolrCall CollectionRequest collection name
Hi Colm, what do you mean when you refer to "Standalone Solr". Did you setup Solr Cloud or just a single Solr instance? Thnx On Mon, May 22, 2017 at 8:50 AM, Colm O hEigeartaighwrote: > Hi all, > > Setup: Standalone Solr with a "demo" collection name > > In HttpSolrCall.getAuthCtx - it is creating a CollectionRequest where > collectionRequest.collectionName == null when I call: > > curl http://localhost:8983/solr/demo/get?id=xyz > > Is there a reason why it doesn't try to extract the collection name from > the path in HttpSolrCall.getAuthCtx for this scenario? If I have a custom > authorization plugin, how can I see what the requested collection is in > this case? > > Apologies in advance if I am missing something obvious here. > > Thanks, > > Colm. > > -- > Colm O hEigeartaigh > > Talend Community Coder > http://coders.talend.com >
HttpSolrCall CollectionRequest collection name
Hi all, Setup: Standalone Solr with a "demo" collection name In HttpSolrCall.getAuthCtx - it is creating a CollectionRequest where collectionRequest.collectionName == null when I call: curl http://localhost:8983/solr/demo/get?id=xyz Is there a reason why it doesn't try to extract the collection name from the path in HttpSolrCall.getAuthCtx for this scenario? If I have a custom authorization plugin, how can I see what the requested collection is in this case? Apologies in advance if I am missing something obvious here. Thanks, Colm. -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com