directory « Search « JPA Q&A

1. How to use multiple index directory in hibernate-search?

I use hibernate-search. I want that each user can see only theirself index and use it for searching and can't use index of other users. How can I do this? Thanks

2. Hibernate Search In Action- new index in existing directories?

Does Hibernate Search aid in creating new indexes in existing directories? OR is it always done at the startup, when a complete B Tree like structure is generated and maintained and kept in cache for cache hits and quick access. How is the index sync maintained? and how are the index conflicts handled?