I've been working on a web application using Spring/MVC which is coming along nicely. We'd like to now integrate apache lucene to index a lot of the domain objects for a user search facility.
I'm undecided if I should create an indexing service that's registered within spring or do it the traditional servlet way and implement a ServletContextListener
being registered in the web.xml
. If anyone has done something similar I'd be greatly appreciative of hearing your suggestions.
We are new to all spring, spring/MVC and Lucene.