spring - Handling Typos and Soundex conditions While Searching a String in Java without Interacting Database -


my application uses hibernate search handle possible search criteria. however, there need me obtain collection of objects database , based upon user inputs, need perform search on obtained collection. system should able handle typos , sound-ex conditions too. manner in interact database in condition through hibernate criteria can serve purpose , cannot use hibernate search here.

is there way can use hibernate search along hibernate criteria? requirement hibernate search should done on results obtained criteria, not on db. guess doing in dao not possible , hence thinking of handling in service layer. have library similar hibernate search, apache lucene perform search(including typos , soundex) on collection of objects.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -