Solr plugin

70 views
Skip to first unread message

Seymores

unread,
Aug 4, 2011, 1:00:17 AM8/4/11
to Gaelyk
Hi guys,

Anyone of you working on integrating with Solr?
I am going to integrate my gaelyk app with solr for search and
planning to turn it into a plugin, but just want to find out if
something similar is already available out there.

Benjamin Muschko

unread,
Aug 4, 2011, 7:27:25 AM8/4/11
to Gaelyk
Hi,

I wonder if Solr is actually fully supported on Google App Engine. At
least with the SolrJ client you might get problems because it's using
Apache HttpClient. Did you get Solr running on App Engine? I'd be
interested to know.

Ben

Guillaume Laforge

unread,
Aug 4, 2011, 7:28:32 AM8/4/11
to gae...@googlegroups.com
Somewhat related to the topic... last thing I've heard from Google about the "search feature" is that it's not really going to be there before several months. So not for... right now.

--
You've received this message because you've subscribed to the Gaelyk Google Group.
To send an email to the group, please write to: gae...@googlegroups.com
To unsuscribe from this group: gaelyk+un...@googlegroups.com
To show more options: http://groups.google.fr/group/gaelyk?hl=en



--
Guillaume Laforge
Groovy Project Manager
Head of Groovy Development at SpringSource
http://www.springsource.com/g2one

Twitter: @glaforge

Seymores

unread,
Aug 4, 2011, 8:43:29 AM8/4/11
to Gaelyk
Sorry, I should have made it clearer. I am trying out with Solrj. I am
essentially having the entity save/update/delete calling an external
solr server.
I am hoping that turning it into a plugin can take some of the pain
away especially by putting in some binding and synthetic sugar.


On Aug 4, 7:27 pm, Benjamin Muschko <benjamin.musc...@gmail.com>
wrote:

Peter Arwanitis

unread,
Aug 4, 2011, 12:21:37 PM8/4/11
to gae...@googlegroups.com
Just a short reply.
Don't know if you got SolrJ working under Gaelyk.
I didn't because of:

"""GAE don't like it due to underlying use of Jakarta HTTP Client
(CommonsHttpSolrServer) runs on sockets (and this seems forbidden)"""

As I wrote on 8th of June on that list:
"""
SOLVED by bypass
I switched to basic Java.net.URL and have now a working connection to
my local Solr
Working with a &wt=json response and Groovy JsonSlurper it is
lightweight and expressive for my use case.
(=PA=)
"""

regards
Peter
(=PA=)

Seymores

unread,
Aug 4, 2011, 9:00:24 PM8/4/11
to Gaelyk
Thanks, very helpful.

Benjamin Muschko

unread,
Aug 5, 2011, 7:30:21 AM8/5/11
to Gaelyk
This is an interesting post on how to get HttpClient working on GAE:
http://esxx.blogspot.com/2009/06/using-apaches-httpclient-on-google-app.html.
You got to write a custom connection manager. You might be able to use
that as constructor parameter to CommonsHttpSolrServer:
http://lucene.apache.org/solr/api/org/apache/solr/client/solrj/impl/CommonsHttpSolrServer.html.

Ben
Reply all
Reply to author
Forward
0 new messages