[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-49) Ability to add to/remove from index based on object state

Stefan Norberg (JIRA) noreply at atlassian.com
Wed May 23 01:37:04 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_27026 ] 

Stefan Norberg commented on HSEARCH-49:
---------------------------------------

Yeah I think you are right. I checked the Lucene docs for QueryFilter and it does the job nicely. I guess one could still consider a tag like "@AddToIndexWhen" or similar to limit short lived objects to enter the index to avoid getting pre-search lifecycle objects into the index. Thanks for the awesome work with this project (and others).

> Ability to add to/remove from index based on object state
> ---------------------------------------------------------
>
>                 Key: HSEARCH-49
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-49
>             Project: Hibernate Search
>          Issue Type: New Feature
>            Reporter: Stefan Norberg
>
> As we discussed after your session on JavaOne, I'd like to see a feature that adds an object to the index based on a expression.
> Example: An object travels through a state machine and gets past the "approved" state and should now be indexed for search. Later the object gets "unapproved" and should be removed from the search index.
> It would be nice to have a condition on a combination of bean properties if the object should be in the index.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list