Re: [hibernate-dev] Hibernate Search, more API changes in SearchFactory

2011-07-25 Thread Sanne Grinovero
2011/7/25 Emmanuel Bernard : > > On 24 juil. 2011, at 21:19, Sanne Grinovero wrote: > >> Hello, >> I'm thinking to hide the ReaderProvider API from the public interface; >> it will still be available at SPI level, but I would prefer to keep >> the option open to remove the ReaderProvider altogether

Re: [hibernate-dev] Hibernate Search, more API changes in SearchFactory

2011-07-25 Thread Emmanuel Bernard
On 24 juil. 2011, at 21:19, Sanne Grinovero wrote: > Hello, > I'm thinking to hide the ReaderProvider API from the public interface; > it will still be available at SPI level, but I would prefer to keep > the option open to remove the ReaderProvider altogether in a near > future (replacing it by

Re: [hibernate-dev] Hibernate Search, more API changes in SearchFactory

2011-07-24 Thread Sanne Grinovero
Addendum: "searchFactory.closeReader( indexReader );" is much nicer to use as "indexReader.close()": the first one doesn't throw a java.io.IOException. Cheers, Sanne ___ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org

[hibernate-dev] Hibernate Search, more API changes in SearchFactory

2011-07-24 Thread Sanne Grinovero
Hello, I'm thinking to hide the ReaderProvider API from the public interface; it will still be available at SPI level, but I would prefer to keep the option open to remove the ReaderProvider altogether in a near future (replacing it by something similar). This API is currently used when the end us