-
1. [ANN] Grails Plugin for Infinispan version 0.4.0 released today!
sannegrinovero Mar 28, 2011 9:52 AM (in response to thospfuller)Hi Tom, I'm not a Grails expert, but it looks very nice! A little warning, we're finally dedicating some time to polish the Query API, hopefully already in 5.0.0.Beta1 you won't need the queryHelper anymore, and soon we'll expose many other query options. (the "basicQuery" is a bit like a toy ). Let me know how we can create the best API ;)
-
2. [ANN] Grails Plugin for Infinispan version 0.4.0 released today!
thospfuller Mar 28, 2011 11:03 AM (in response to sannegrinovero)Hi Sanne,
Thanks for the compliment. I'm aware that the queryHelper will no longer be needed with Infinispan v. 5.0 -- in fact I spoke with Manik on this forum about this in the past.
I look forward to the new enhancements and I'm deliberately holding off on implementing them before Infinispan 5 goes to GA.
I'll definitely come back to you with questions and suggestions regarding the API and, likewise, feel free to come back to me with ideas as I'm very happy to listen.
Best,
Tom
-
3. [ANN] Grails Plugin for Infinispan version 0.4.0 released today!
sannegrinovero Apr 1, 2011 10:29 AM (in response to thospfuller)Hi Tom, in the last Infinispan 5 (Alpha4) the QueryHelper was removed already. I'm going to add more methods to provide better search API soon, but I guess you can start removing the references to the QueryHelper at all. Please refer to the unit tests to see how to create a Query now, it's quite simple I just removed some needed steps - blog coming when the final API is ready.
-
4. [ANN] Grails Plugin for Infinispan version 0.4.0 released today!
thospfuller Apr 1, 2011 10:36 AM (in response to sannegrinovero)Hi Sanne,
Thanks for the heads-up -- I'll take a look and start planning the changes.
Best,
Tom
-
5. [ANN] Grails Plugin for Infinispan version 0.4.0 released today!
sannegrinovero Apr 5, 2011 5:47 AM (in response to thospfuller)Hi Thomas,
as you know the Query API in v.4 was meant as a technology preview, nothing final.
We need to stabilize it soon, and I whish to change:
- all service names (QueryFactory -> SearchManager, SearchProvider, GridSearcher, TheGridReaper? )
- removing the method org.infinispan.query.QueryFactory.getBasicQuery(String, String) and it's overloaded peers, only getQuery(Query luceneQuery, Class<?>... classes) should be used.
Using a Lucene Query is far more powerfull, if you think in the scope of your plugin it makes sense to have the simpler method you'll have to move the QueryParser code in the plugin.
If you really need some slow deprecation->removal phase, please warn me. But I hope you don't I think it's important we remove the old methods quickly.
There's a thread going on on the mailing list, feel free to join there.
-
6. Re: [ANN] Grails Plugin for Infinispan version 0.4.0 released today!
thospfuller Apr 5, 2011 6:14 AM (in response to sannegrinovero)Hi Sanne,
Regarding your comments above:
- all service names (QueryFactory -> SearchManager, SearchProvider, GridSearcher, TheGridReaper? )
This should be easy enough to do -- maybe SearchProvider (as above), SearchFactory, GridQuery. Or you could keep QueryFactory, but put it in another package and then deprecate the old QueryFactory aggressively (?).
Let me know once this part of Infinispan has stabalized and I'll start looking into what changes need to be made.
- removing the method org.infinispan.query.QueryFactory.getBasicQuery(String, String) and it's overloaded peers, only getQuery(Query luceneQuery, Class<?>... classes) should be used.
This I can take care of almost immediately.
If you really need some slow deprecation->removal phase, please warn me.
This is not a problem.
Tom