Re: [hibernate-dev] HSEARCH-471 Ability to selectively index an entity based on its state

2011-02-01 Thread Sanne Grinovero
Reviving again; I think we should split the solution among two main use cases: 1)entities which should stay out of the index for security/filtering reasons In this case we need to accomodate on-commit deletion of entities which where indexed, and are no more. We need to invoke the check for "needs

Re: [hibernate-dev] HSEARCH-471 Ability to selectively index an entity based on its state

2011-01-14 Thread Sanne Grinovero
2011/1/14 Hardy Ferentschik : > On Fri, 14 Jan 2011 14:24:07 +0100, Emmanuel Bernard > wrote: > * SearchFactory.enableIndexing(boolean) // enables/disables globally on the fly could operate on existing boolean org.hibernate.search.event.FullTextIndexEventListener.used >>> >>> +

Re: [hibernate-dev] HSEARCH-471 Ability to selectively index an entity based on its state

2011-01-14 Thread Hardy Ferentschik
On Fri, 14 Jan 2011 14:24:07 +0100, Emmanuel Bernard wrote: >>> * SearchFactory.enableIndexing(boolean) // enables/disables globally on >>> the fly >>> could operate on existing boolean >>> org.hibernate.search.event.FullTextIndexEventListener.used >> >> +1 This is something I was wishing for s

Re: [hibernate-dev] HSEARCH-471 Ability to selectively index an entity based on its state

2011-01-14 Thread Sanne Grinovero
2011/1/14 Emmanuel Bernard : > > On 14 janv. 2011, at 13:47, Hardy Ferentschik wrote: > >> On Fri, 14 Jan 2011 11:33:25 +0100, Sanne Grinovero >> wrote: >> >>> Agreed, also there where additional similar requests recently via the >>> forums. As usual, alternatives where found but we should make th

Re: [hibernate-dev] HSEARCH-471 Ability to selectively index an entity based on its state

2011-01-14 Thread Emmanuel Bernard
On 14 janv. 2011, at 13:47, Hardy Ferentschik wrote: > On Fri, 14 Jan 2011 11:33:25 +0100, Sanne Grinovero > wrote: > >> Agreed, also there where additional similar requests recently via the >> forums. As usual, alternatives where found but we should make this >> easier. > >> * SearchFactory

Re: [hibernate-dev] HSEARCH-471 Ability to selectively index an entity based on its state

2011-01-14 Thread Hardy Ferentschik
On Fri, 14 Jan 2011 11:33:25 +0100, Sanne Grinovero wrote: > Agreed, also there where additional similar requests recently via the > forums. As usual, alternatives where found but we should make this > easier. > * SearchFactory.enableIndexing(boolean) // enables/disables globally on > the fl

Re: [hibernate-dev] HSEARCH-471 Ability to selectively index an entity based on its state

2011-01-14 Thread Sanne Grinovero
Agreed, also there where additional similar requests recently via the forums. As usual, alternatives where found but we should make this easier. So these are all alternatives I've been considering, not wanting to implement necessarily all of them: * SearchFactory.enableIndexing(boolean) // enable

[hibernate-dev] HSEARCH-471 Ability to selectively index an entity based on its state

2011-01-14 Thread Emmanuel Bernard
Maybe it's time to revive this one since we have started to go down the rabbit hole with indexing only when dirty searched properties are present. Begin forwarded message: > From: "lantz moore (JIRA)" > Date: 14 janvier 2011 01:52:05 HNEC > To: emman...@hibernate.org > Subject: [Hibernate-JIR