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 "Smiley, David W." <ds...@mitre.org> on 2009/04/14 20:52:22 UTC

Re: Using Solr from AppEngine application via SolrJ: any problematic issues?

SolrJ would require some modification.  SolrJ internally uses Jakarta HTTP Client via Solr's "CommonsHttpSolrServer" class.  It would need to be ported to a different implementation of SolrServer (the base class), one that uses java.net.URL. I suggest "JavaNetUrlHttpSolrServer".

~ David Smiley


On 4/14/09 1:13 PM, "Glen Newton" <gl...@gmail.com> wrote:

I was wondering if those more up on SolrJ internals could take a look
if there were any serious gotchas with the AppEngine's Java urlfetch
with respect to SolrJ.

http://code.google.com/appengine/docs/java/urlfetch/overview.html
"The URL must use the standard ports for HTTP (80) and HTTPS (443).
The port is implied by the scheme, but may also be mentioned in the
URL as long as the port is standard for the scheme (https://...:443/).
An app cannot connect to an arbitrary port of a remote host, nor can
it use a non-standard port for a scheme."

This is an annoyance for those running Solr on non-80/443. To some,
this may be a fatal limitation.

There is a 1M upload/download limit, which would impact large adds to
the index and large results sets back from the index.
There are also other quotas:
http://code.google.com/appengine/docs/java/urlfetch/overview.html#Quotas_and_Limits

Otherwise, my eyes see no other major issues. Others?

thanks,

Glen

--

-


Re: Using Solr from AppEngine application via SolrJ: any problematic issues?

Posted by Noble Paul നോബിള്‍ नोब्ळ् <no...@gmail.com>.
I guess SOLR-599 can be easily fixed if we do not implement
Multipart-support (which is non-essential)
--Noble

On Wed, Apr 15, 2009 at 1:12 AM, Shalin Shekhar Mangar
<sh...@gmail.com> wrote:
> On Wed, Apr 15, 2009 at 12:47 AM, Glen Newton <gl...@gmail.com> wrote:
>
>> I see. So this is a show stopper for those wanting to use SolrJ with
>> AppEngine.
>>
>> Any chance this could be added as a Solr issue?
>>
>>
> Yes, commons-httpclient tries to use Socket directly. So it may not work.
>
> It was mentioned here -
> http://briccetti.blogspot.com/2009/04/my-first-scala-web-app-on-google-app.html
>
> There is an issue I opened some time back which we could use -
> https://issues.apache.org/jira/browse/SOLR-599
>
> --
> Regards,
> Shalin Shekhar Mangar.
>



-- 
--Noble Paul

Re: Using Solr from AppEngine application via SolrJ: any problematic issues?

Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
On Wed, Apr 15, 2009 at 12:47 AM, Glen Newton <gl...@gmail.com> wrote:

> I see. So this is a show stopper for those wanting to use SolrJ with
> AppEngine.
>
> Any chance this could be added as a Solr issue?
>
>
Yes, commons-httpclient tries to use Socket directly. So it may not work.

It was mentioned here -
http://briccetti.blogspot.com/2009/04/my-first-scala-web-app-on-google-app.html

There is an issue I opened some time back which we could use -
https://issues.apache.org/jira/browse/SOLR-599

-- 
Regards,
Shalin Shekhar Mangar.

Re: Using Solr from AppEngine application via SolrJ: any problematic issues?

Posted by Glen Newton <gl...@gmail.com>.
I see. So this is a show stopper for those wanting to use SolrJ with AppEngine.

Any chance this could be added as a Solr issue?

-glen

2009/4/14 Smiley, David W. <ds...@mitre.org>:
> SolrJ would require some modification.  SolrJ internally uses Jakarta HTTP
> Client via Solr’s “CommonsHttpSolrServer” class.  It would need to be ported
> to a different implementation of SolrServer (the base class), one that uses
> java.net.URL. I suggest “JavaNetUrlHttpSolrServer”.
>
> ~ David Smiley
>
>
> On 4/14/09 1:13 PM, "Glen Newton" <gl...@gmail.com> wrote:
>
> I was wondering if those more up on SolrJ internals could take a look
> if there were any serious gotchas with the AppEngine's Java urlfetch
> with respect to SolrJ.
>
> http://code.google.com/appengine/docs/java/urlfetch/overview.html
> "The URL must use the standard ports for HTTP (80) and HTTPS (443).
> The port is implied by the scheme, but may also be mentioned in the
> URL as long as the port is standard for the scheme (https://...:443/).
> An app cannot connect to an arbitrary port of a remote host, nor can
> it use a non-standard port for a scheme."
>
> This is an annoyance for those running Solr on non-80/443. To some,
> this may be a fatal limitation.
>
> There is a 1M upload/download limit, which would impact large adds to
> the index and large results sets back from the index.
> There are also other quotas:
> http://code.google.com/appengine/docs/java/urlfetch/overview.html#Quotas_and_Limits
>
> Otherwise, my eyes see no other major issues. Others?
>
> thanks,
>
> Glen
>
> --
>
> -
>
>



-- 

-