A very popular solution might be SOLR. http://lucene.apache.org/solr/
It's essentially a java .war servlet file that is served via Tomcat/Jetty/Resin. You then supply it with a lucene index (built via Lucene, pyLucene, etc) and then u can send it http requests like: http://localhost:8983/solr/select/?q=my+query+string Which will return to you XML (or python code strings to eval() that you can parse and return to your app. This isn't a bad place to start. http://lucene.apache.org/solr/tutorial.html There are a ton of caching options and in general there is a lot of development surrounding so new features and bug fixes are always on the way. I'm not exactly sure if this is what your looking for but i'll throw it out there. Good luck. John --- Ofer Nave <[EMAIL PROTECTED]> wrote: > I need to build a lucene search engine that can > handle very high loads > (hundreds of requests per second) via a web > interface. It will be deployed > on one or more multi-proc servers, with the index > pre-generated and > available via an NFS partition. The index is small > enough to fit into RAM, > so assume linux will cache the whole thing (it seems > to be now - there's no > performance difference for me between FSDirectory > and RAMDirectory). I'm > new to both Python and Lucene, so I have little > experience with what the > best solutions are. > > I've looked around for embeddable python web > servers, or python http server > classes, and could only find the ones included in > the python standard > library (like BaseHTTPServer), which frankly suck > (though I'm using it for > development for now, for lack of something better). > > My current thoughts: > 1) As I understand it (and please correct me if I'm > wrong), Python threading > probably won't cut it (especially since I'll likely > end up with many python > extensions to Lucene), so I imagine I'll need a > multi-process solution > 2) I could run under mod_python, though I previously > had high hopes of a > standalone solution for ease of > deployment/administration - would be great > to start the service by just running a python > script, rather than > configuring apache. > > Ideas/suggestions/anecdotes? > > -ofer > > _______________________________________________ > pylucene-dev mailing list > [email protected] > http://lists.osafoundation.org/mailman/listinfo/pylucene-dev > ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 _______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
