The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

Sebbal (1) [Avatar] Offline

I need your help. I've no idea left.
I'm using lucene since last year and it's great!
Your book helped me a lot, thanks for that!

I know the different parts of lucene and how to use them but I have one problem left.
Lucene is running in my online shop and does a good job. Now I want to optimize the search result from my search function with a single search field, where the user can input anything he wants to search for.
Since now I'm combining different search approaches to get the results like phrase and fuzzy search. the problem is I get always a huge resultset back. I want a smaller result list with the best hits. I can achieve this when I leave fuzzy. Then I've got a great search result but when the user types something wrong the result is empty.

There must be a solution to get a small resultset with great score and also combine it with fuzzy search if the hits are bad?!

What do I have to think of? Which way should I go?
What's the best solution for that situation?

Please help me...

Thanks a lot!!