Niclas Hedhman a écrit :
On Tue, Oct 2, 2012 at 5:08 PM, Paul Merlin<[email protected]>  wrote:
ElasticSearch will support regex filtering when lucene 4 will be out
(currently at BETA stage).
Well, my observation is that RegExp search is not easily done in SQL
either, so perhaps we should not demand that of the Query/Indexing
engine...

On the other side, it's possible to support RegExp search on several engines. About SQL, many RDBMS support the REGEXP query operator or other mecanisms. I think we should delegate RegExp search as much as we can to the underlying engine.

indexing-rdf and indexing-sql currently support MatchesSpecification.

Plus, and after thinking a bit more about it, doing it as a post-filter will be extremely complex/slow as the MatchesSpecification could be nested in a complex Query. In fact I simply don't see how to do it out of the underlying engine except by doing many queries and "manual" filtering along the way, solution that I don't see as viable.

indexing-solr is out of the discussion as it do not support the Query API at all.

/Paul

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to