I am making a .NET desktop application (WinForms+Local PostgreSQL Server) for managing sales in a small store.
I wish to integrate Lucene search facilities into the 'Product Search' module of my software. Are there any good patterns for integrating such Information Retrieval Libraries into existing applications?
Note : The application is still in development and I can always modify the architecture to integrate Lucene.
Note : I know how to use Lucene and have created a simple demo app to test it's capabilities. I am only looking for patterns that integrate such search functionality into Desktop Applications.
Note : Also the main requirement of the integration is to enable the user to quickly search for products/brands/etc and provide a google autocomplete'esque system in the UI.