Erik Hatcher schrieb:
On Nov 16, 2008, at 1:40 PM, Matthias Epheser wrote:Matthias and Ryan - let's get SolrJS integrated into contrib/velocity. Any objections/reservations?As SolrJS may be used without velocity at all (using eg. ClientSideWidgets), is it possible to put it into "contrib/javascript" and create a "dependency" to contrib/velocity for ServerSideWidgets?Sure, contrib/javascript sounds perfect.If that's ok, I'll have a look at the directory structure and the current ant build.xml to make them fit into the common solr structure and build.Awesome, thanks!
Just uploaded solrjs.zip to https://issues.apache.org/jira/browse/SOLR-868. It is intended to be extracted in contrib/javascript and supports the following ant targets:
* ant dist -> creates a single js file and a jar that holds velocity templates. * ant docs -> creates js docs. test in browser: doc/index.html* ant example-init -> (depends ant dist on solr root) copies the current built of solr.war and solr-velocity.jar to example/testsolr/..
* ant example-start -> starts the testsolr server on port 8983 * ant example-import -> imports 3000 test data rows (requires a started testserver)
Erik
