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

Reply via email to