[infinispan-dev] Query module new API and configurations
Emmanuel Bernard
emmanuel at hibernate.org
Tue Aug 25 07:31:17 EDT 2009
>
> is that to create a lucene query then you need to do the work of
> creating up a QueryParser and stuff like that. This is the bit that
> I'd like to avoid.
I agree with ou it's annoying (though you don't need a QP
necessarily). I do think the DSL approach will work best.
>
> Is it too round-about / tricky / yucky if we the user is to provide
> the specific class of the query? Or is that what you were suggesting
> anyway Manik?
>
> e.g.: -
> CacheQuery cq = new
> QueryFactory
> (cache).getQuery(org.apache.lucene.query.BooleanQuery.class);
Well but then how do you pass each side which are Lucene queries
themselves.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20090825/73fa5960/attachment-0002.html
More information about the infinispan-dev
mailing list