• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

String Matching Search Approach-Fast and Accurate - Hibernate Search/JPA/Lucene

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ranchers,

I am working on a task of finding similar records from large database.

I use Hibernate Search/ Apache Lucene/JPA for indexing and searching records in database.

I want to give a paragraph of text in input field (xHTML text box) and I want the hibernate search to return close matching matching records (may be top 10) fast.

I extracted all keywords from given input (eliminated stopwords & stemmed) and searched those keywords against database records. But it is taking more time when the number of keywords are more.

How can approach it or re-structure to get accurate records in quick time. I feel that I should try to form phrases out of those keywords before searching to avoid the no of comparisons. Any ideas or suggestions (algorithms) would be really helpful for me to travel in right direction.


Thanks and Regards,
Techie.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic