I am developing a Spring boot application which is using spring data JPA as a persistence layer. I would like to enable a full text search with hibernate search, but because of some constraints i would like to persist the Lucene index into the database (instead of a file).
I have went through the documentation but was unable to find an example of persisting the index into a database. Also from reading it i understood that this is possible but i don't know where to start.
How should the configuration look like?