A simple approach is to count the most common words in the result set and present them in combination with the original query. If you have any meta information you could use them the refine the query.
-----Ursprüngliche Nachricht----- Von: Chun Wei Ho [mailto:[EMAIL PROTECTED] Gesendet: Montag, 13. Februar 2006 10:35 An: java-user@lucene.apache.org Betreff: Suggesting refine searches with Lucene Hi, I am trying to suggest refine searches for my Lucene search. For example, if a search turned out too many searches, it would list a number of document title subsequences that occurred frequently in the results of the previous search, as possible candidates for refining the search. Does anyone know the right/any approach to implementing this in a Lucene-based search app? Thanks. CW --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]