On Feb 4, 2007, at 10:58 PM, David Huynh wrote:
> Thanks, Erik! I'm glad to see an ecology of synergistic semweb tools
> that new enthusiasts can get their hands dirty with. But you're just
> teasing us with screen-shots and no live URLs :-)

I'm working on the live URL thing.  An early hack on a different  
codebase, of course, is Collex at <http://www.nines.org/collex>.   
It's Rails + Solr also.  Flare is about 100 lines of code in Rails,  
which utilize the solrb library to communicate to Solr.

You can actually check it all out and run it yourself with the  
dataset shown.  I'll be updating the Flare wiki with instructions on  
getting up and running as soon as possible, but here's the quick step- 
by-step:

1. GET CODE: svn co https://svn.apache.org/repos/asf/lucene/solr/ 
trunk/client/ruby solr-flare
2. BUILD SOLRB LIBRARY: cd solr-flare/solrb ; rake package ; gem  
install pkg/solr/solrb-0.0.1.gem
3. LAUNCH SOLR VIA JETTY: cd solr ; java -Dsolr.solr.home=../examples/ 
delicious_library/ -jar start.jar
4. (new shell) IMPORT SAMPLE DATA: cd solr-flare/solrb ; examples/ 
delicious_library/dl_importer.rb examples/delicious_library/ 
sample_export.txt
5. LAUNCH RAILS: cd ../flare ; script/server
6: HIT IT: http://localhost:3000

Prerequisites: Rails 1.2, Java 1.5+ (err, 5.0+, sheesh).

        Erik


_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to