Hibernate Search trial summary

Source: Internet
Author: User

Recently, a field-based query function is provided for each table in our system. The foreground sends json data to the backend, And the backend performs Fuzzy Matching by %, query by field. the result is rejected. another colleague used Hibernate Search for fuzzy match. two problems are hard to solve:

1. It is found that the index of CE is not synchronized with the database. through spring integration, event-based synchronization is configured in the configuration file, but the test still finds occasional non-synchronization. I don't know whether it is configuration or Hibernate Search. hope you have had a discussion about Hibernate Search ..

2. The fields displayed on the page are usually strings that users can understand, and literal values that users can easily understand, while the database usually stores integer or other values. for example, if the user status is displayed online, the database may store 1. perform an index on 1 when using the CE index. The search result is user input, and the search result is "online. I don't know how to set the string STATE OF A get and set Method in bean, and whether the index method is feasible is not tested yet.

In general, Hibernate Search is suitable for text Search on bbs or blog websites. It is not suitable for scenarios with high consistency requirements for enterprise applications and e-commerce. personal point of view, welcome to shoot bricks.

Hibernate Search details: click here
Hibernate Search: click here

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.