Ability to add to/remove from index based on object state

Description

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.

Environment

None

Status

Assignee

Unassigned

Reporter

Stefan Norberg

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Priority

Major