You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Uwe Schindler <uw...@thetaphi.de> on 2017/05/18 07:26:03 UTC

Solr V2 API on standalone nodes

Hi,

I tried a few stuff with Solr 6.5 recently, but I was not aware that the Solr V2 API does not work with non-cloud installations. I started the techproducts example and the calling http://localhost:8983/v2 returned a JSON formatted error saying that accessing "collections" only works in Solr cloud mode. So it fails already when not even doing anything, it is just a request to the root path of the new API. I did not try further. Is this expected (then we should document that it does not work with standalone nodes -> how do we then migrate non-cloud users e.g., the admin interface) or is this a bug?

Uwe

-----
Uwe Schindler
Achterdiek 19, D-28357 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de



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


RE: Solr V2 API on standalone nodes

Posted by Uwe Schindler <uw...@thetaphi.de>.
Thanks for opeining the issue! I commented there.

 

To me it should be fixed before 6.6, as this is part of a “bad user experience”. It just won’t work as you would expect from a “self decsribing API”. I had a session with a customer and we just tried this out and gave up afterwards with “this API seems not be reliable and looks like not yet finalized. So let’s not yet use it.”

 

Uwe

 

-----

Uwe Schindler

Achterdiek 19, D-28357 Bremen

http://www.thetaphi.de <http://www.thetaphi.de/> 

eMail: uwe@thetaphi.de

 

From: Jan Høydahl [mailto:jan.asf@cominvent.com] 
Sent: Friday, May 19, 2017 1:45 AM
To: dev@lucene.apache.org
Subject: Re: Solr V2 API on standalone nodes

 

Created https://issues.apache.org/jira/browse/SOLR-10711

 

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com <http://www.cominvent.com> 

 

18. mai 2017 kl. 23.20 skrev Noble Paul <noble.paul@gmail.com <ma...@gmail.com> >:

 

V2 API works in standalone mode. But collection APIs don't
This could be a bug. However I'm not sure if we hold up 6.6 for this



On Thu, May 18, 2017 at 4:56 PM, Uwe Schindler <uwe@thetaphi.de <ma...@thetaphi.de> > wrote:



Hi,

I tried a few stuff with Solr 6.5 recently, but I was not aware that the Solr V2 API does not work with non-cloud installations. I started the techproducts example and the calling http://localhost:8983/v2 returned a JSON formatted error saying that accessing "collections" only works in Solr cloud mode. So it fails already when not even doing anything, it is just a request to the root path of the new API. I did not try further. Is this expected (then we should document that it does not work with standalone nodes -> how do we then migrate non-cloud users e.g., the admin interface) or is this a bug?

Uwe

-----
Uwe Schindler
Achterdiek 19, D-28357 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de <ma...@thetaphi.de> 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org <ma...@lucene.apache.org> 
For additional commands, e-mail: dev-help@lucene.apache.org <ma...@lucene.apache.org> 




-- 
-----------------------------------------------------
Noble Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org <ma...@lucene.apache.org> 
For additional commands, e-mail: dev-help@lucene.apache.org <ma...@lucene.apache.org> 

 


Re: Solr V2 API on standalone nodes

Posted by Jan Høydahl <ja...@cominvent.com>.
Created https://issues.apache.org/jira/browse/SOLR-10711 <https://issues.apache.org/jira/browse/SOLR-10711>

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 18. mai 2017 kl. 23.20 skrev Noble Paul <no...@gmail.com>:
> 
> V2 API works in standalone mode. But collection APIs don't
> This could be a bug. However I'm not sure if we hold up 6.6 for this
> 
> 
> 
> On Thu, May 18, 2017 at 4:56 PM, Uwe Schindler <uw...@thetaphi.de> wrote:
>> Hi,
>> 
>> I tried a few stuff with Solr 6.5 recently, but I was not aware that the Solr V2 API does not work with non-cloud installations. I started the techproducts example and the calling http://localhost:8983/v2 returned a JSON formatted error saying that accessing "collections" only works in Solr cloud mode. So it fails already when not even doing anything, it is just a request to the root path of the new API. I did not try further. Is this expected (then we should document that it does not work with standalone nodes -> how do we then migrate non-cloud users e.g., the admin interface) or is this a bug?
>> 
>> Uwe
>> 
>> -----
>> Uwe Schindler
>> Achterdiek 19, D-28357 Bremen
>> http://www.thetaphi.de
>> eMail: uwe@thetaphi.de
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>> 
> 
> 
> 
> -- 
> -----------------------------------------------------
> Noble Paul
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
> 


Re: Solr V2 API on standalone nodes

Posted by Noble Paul <no...@gmail.com>.
V2 API works in standalone mode. But collection APIs don't
This could be a bug. However I'm not sure if we hold up 6.6 for this



On Thu, May 18, 2017 at 4:56 PM, Uwe Schindler <uw...@thetaphi.de> wrote:
> Hi,
>
> I tried a few stuff with Solr 6.5 recently, but I was not aware that the Solr V2 API does not work with non-cloud installations. I started the techproducts example and the calling http://localhost:8983/v2 returned a JSON formatted error saying that accessing "collections" only works in Solr cloud mode. So it fails already when not even doing anything, it is just a request to the root path of the new API. I did not try further. Is this expected (then we should document that it does not work with standalone nodes -> how do we then migrate non-cloud users e.g., the admin interface) or is this a bug?
>
> Uwe
>
> -----
> Uwe Schindler
> Achterdiek 19, D-28357 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>



-- 
-----------------------------------------------------
Noble Paul

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


Re: Solr V2 API on standalone nodes

Posted by Alexandre Rafalovitch <ar...@gmail.com>.
Is this something that should affect 6.6 release? Since it seems that
there will be a respin anyway.

Regards,
   Alex.
----
http://www.solr-start.com/ - Resources for Solr users, new and experienced


On 18 May 2017 at 03:27, Uwe Schindler <uw...@thetaphi.de> wrote:
> Hi,
>
> In addition, I figured out that again Solr 6.5 fails to start on Windows with whitespace in directory name. Previous versions (I know of 6.3) worked.
>
> Also it still does not start with Java 9.
>
> Uwe
>
> -----
> Uwe Schindler
> Achterdiek 19, D-28357 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
>
>> -----Original Message-----
>> From: Uwe Schindler [mailto:uwe@thetaphi.de]
>> Sent: Thursday, May 18, 2017 9:26 AM
>> To: dev@lucene.apache.org
>> Subject: Solr V2 API on standalone nodes
>>
>> Hi,
>>
>> I tried a few stuff with Solr 6.5 recently, but I was not aware that the Solr V2
>> API does not work with non-cloud installations. I started the techproducts
>> example and the calling http://localhost:8983/v2 returned a JSON formatted
>> error saying that accessing "collections" only works in Solr cloud mode. So it
>> fails already when not even doing anything, it is just a request to the root
>> path of the new API. I did not try further. Is this expected (then we should
>> document that it does not work with standalone nodes -> how do we then
>> migrate non-cloud users e.g., the admin interface) or is this a bug?
>>
>> Uwe
>>
>> -----
>> Uwe Schindler
>> Achterdiek 19, D-28357 Bremen
>> http://www.thetaphi.de
>> eMail: uwe@thetaphi.de
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

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


RE: Solr V2 API on standalone nodes

Posted by Uwe Schindler <uw...@thetaphi.de>.
Hi,

In addition, I figured out that again Solr 6.5 fails to start on Windows with whitespace in directory name. Previous versions (I know of 6.3) worked.

Also it still does not start with Java 9.

Uwe

-----
Uwe Schindler
Achterdiek 19, D-28357 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: Uwe Schindler [mailto:uwe@thetaphi.de]
> Sent: Thursday, May 18, 2017 9:26 AM
> To: dev@lucene.apache.org
> Subject: Solr V2 API on standalone nodes
> 
> Hi,
> 
> I tried a few stuff with Solr 6.5 recently, but I was not aware that the Solr V2
> API does not work with non-cloud installations. I started the techproducts
> example and the calling http://localhost:8983/v2 returned a JSON formatted
> error saying that accessing "collections" only works in Solr cloud mode. So it
> fails already when not even doing anything, it is just a request to the root
> path of the new API. I did not try further. Is this expected (then we should
> document that it does not work with standalone nodes -> how do we then
> migrate non-cloud users e.g., the admin interface) or is this a bug?
> 
> Uwe
> 
> -----
> Uwe Schindler
> Achterdiek 19, D-28357 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org


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