Using Named Filters (org.hibernate.annotations.Filter) in Hibernate Search
Description
I am trying to use some named filters (org.hibernate.annotations.Filter) in hibernate search. But when I try to filter out a negative object (supposed to be filtered out) which I just persisted in in the unit test, the named filter fails to do so. The hibernate search still finds the one just persisted in. However, there are some negative records originally in the table which are successfully filtered out. I am wondering what the reason could be. Anybody ever used regular named filter in Hibernate search?
I am trying to use some named filters (org.hibernate.annotations.Filter) in hibernate search. But when I try to filter out a negative object (supposed to be filtered out) which I just persisted in in the unit test, the named filter fails to do so. The hibernate search still finds the one just persisted in. However, there are some negative records originally in the table which are successfully filtered out. I am wondering what the reason could be. Anybody ever used regular named filter in Hibernate search?