[hibernate-dev] Lucene Collector for Hibernate Search

Amin Mohammed-Coleman aminmc at gmail.com
Sat Nov 27 06:10:25 EST 2010


Hi All

Apologies up front if this isn't the right place for this.   Are there any plans to allow Collectors to be used within Hibernate Search?  I had an interesting requirement which meant I couldn't use pagination and as result I had to use a custom collector using IndexSearcher.  My use case essentially meant I had to do a search and collect some specific data for each matching document and return the entire result set to the next process in the workflow.  

As users have direct access to the underlying directory I guess using native lucene for the use of collectors is ok but I guess it would be nice to essentially set an optional collector in the FullTextQuery.   

Again apologies up front if this is implemented already or I should post my questions on the forums.


Thanks
Amin  



More information about the hibernate-dev mailing list