Cool!!! This has been a missing bit for large scale Qi4j applications.
Can't wait to put that into a system ;-) On Tue, Oct 2, 2012 at 4:27 PM, Paul Merlin <[email protected]> wrote: > Gang, > > In my quest to have a better grasp of the indexing/querying aspect of Qi4j I > implemented a working Index/Query service based on ElasticSearch > (http://www.elasticsearch.org/). > > It has some limitations tough: > - don't support MatchesSpecification as ElasticSearch don't support regex > based queries/filters (yet, see the documentation) ; > - by default queries can only traverse @Aggregated associations, if you want > to be able to traverse all associations a configuration property does the > job but it should not be used if your domain model state has circular > associations. > > So far it's working good in-memory, on-filesystem or in-cluster and pass the > whole index/query test-suite (validated on the CI) minus the regex based > queries. I tested it within one of my project with success too. > > Documentation is available here: > http://qi4j.org/extension-index-elasticsearch.html > > I had strong interest in indexing-solr but reading the code I understood > that while it implements indexing, queries are limited to native solr > queries. In other words, indexing-solr do not support the Qi4j query API. > I'll try to fix this if I get enough free cycles. > > /Paul > > _______________________________________________ > qi4j-dev mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/qi4j-dev -- Niclas Hedhman, Software Developer 河南南路555弄15号1901室。 http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/3xugrbk I work here; http://tinyurl.com/6a2pl4j I relax here; http://tinyurl.com/2cgsug _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

