hi,
A new version of my Google Summe of Code project "Solr javascript
library" is available at http://solrstuff.org/svn/solrjs/trunk/ . I also
just updated the wiki page at http://wiki.apache.org/solr/SolrJS. An
online demo with reasonably testdata will be provided soon.
The library now supports two kinds of widgets:
- client side ones that retrieve javascript inside JSON and create the
html directly on the client
- server side ones that retrieve HTML inside JSON and only "copy" the
reponse inside the target div. For this purpose, the new
VelocityResponseWriter (see
https://issues.apache.org/jira/browse/SOLR-620) is used.
To make a quickstart test:
- cd to testsolr and start it with "java -jar start.jar". This instance
includes testdata, as well as the needed patches for solr itself (SOLR-620)
- point the browser to the htmls inside the "test" directiory. Both
testfiles include very simple facet and result views, etiher server and
client side.
My next step is to implement some nice showcase widgets that may be
included in the distribution:
- autocomplete box for facet values
- datefacets displayed on a javascript calendar
- basic stuff like facet and result views
- ...
New ideas for widgets and feedback about the library itself etc. are
very welcome.
regards,
matthias