Does Hibernate Search support "field collapsing"?
I'm creating a search engine and would like to show only 1-2 pages from one site per query, so I need group the results by site (host). Post-processing on the results retrived by Lucene or faceted search are not a good solutions, I can have really many pages from one site.
What are the best practices to implement field collapsing (grouping) with Hibernate Search? Is it possible to use with custom Lucene collectors? Also any examples would be appreciated.
Thanks in advance, Ian
|