Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

use of Solr (Lucene) search on Google App Engine

Currently use of Solr or Lucene is not fully supported on Google App Engine, there are hacks around the issue but none seems perfect.

If I setup the Solr server via a cloud offering somewhere else, run the main site and application on GAE but use the Solr server for search functionalities, can anyone see any problems doing doing it this way?

like image 266
Ron Chan Avatar asked Aug 10 '10 14:08

Ron Chan


1 Answers

The current (version 1.4.1) implementation of SolrJ (the Solr client for Java) doesn't work on GAE due to some external dependencies (mainly Apache Commons HTTP client). There are a few other gotchas, see this thread.

You can either contribute to the efforts towards a more portable SolrJ, or code directly against the Solr HTTP interface with the standard GAE HTTP client.

like image 63
Mauricio Scheffer Avatar answered Sep 28 '22 04:09

Mauricio Scheffer