Hi Glenn, On 06/03/12 09:57, Glenn Proctor wrote: > On Tue, Mar 6, 2012 at 9:49 AM, Paolo Castagna wrote: > >> A completely different alternative would be to use something such as >> Apache Solr or ElasticSearch along side your TDB store, they both >> support facet searches (and they can be quite fast): […] > Thanks Paulo - caching is indeed the next thing on the list to look at > :) I hadn't considered the Solr approach, but will do so.
This is the way we're going with our site, data.ox.ac.uk. After each update to the triplestore we'll regenerate an ElasticSearch index from a SPARQL query. It won't quite be real time, but should be good enough for our purposes. From the small amount of playing around with ElasticSearch I've done, it seems to 'Just Work'. I learnt about it from these people: http://cottagelabs.com/indexing-elastic-search-workshop-from-dev8d/. They've also got some JavaScript for faceted interfaces in https://github.com/CottageLabs/edjo and https://github.com/okfn/bibserver (the latter of which powers http://bibsoup.net/kcoyle/publications_karen_coyle). I'm not sure how repurposable it is… All the best, Alex
