Re: [hibernate-dev] JBoss Cache Searchable interfaces

2008-06-26 Thread Manik Surtani
On 26 Jun 2008, at 13:48, Emmanuel Bernard wrote: * iterator(); don't think it's that useful in practice, scroll is probably more practical as it lazily loads Lucene data (contrary to iterator) Then why don't we just lazily load Lucene data into the iterator and drop scroll()? I see su

Re: [hibernate-dev] JBoss Cache Searchable interfaces

2008-06-26 Thread Emmanuel Bernard
-- Emmanuel Bernard http://in.relation.to/Bloggers/Emmanuel | http://blog.emmanuelbernard.com | http://twitter.com/emmanuelbernard Hibernate Search in Action (http://is.gd/Dl1) On Jun 24, 2008, at 13:15, Manik Surtani wrote: Hi guys - a few comments on the public interfaces of SearchableCa

[hibernate-dev] JBoss Cache Searchable interfaces

2008-06-24 Thread Manik Surtani
Hi guys - a few comments on the public interfaces of SearchableCache - 1) IMO, I think that the SearchableCache.createQuery() method should *not* return a FullTextQuery, but instead a JBCS-specific CacheQuery interface with a subset of the methods in FullTextQuery. I think the only methods