In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article to share with you is about cloud search services in APP search scene application is how, Xiaobian think quite practical, so share to everyone to learn, I hope you can read this article after some harvest, not much to say, follow Xiaobian to see it.
Search is everywhere, especially in today's mobile connected world. Whether it is social, e-commerce, or video APP, search has played an important role in it. As an information portal, search can help users find the information they want from a large amount of information. Typical scenarios for APP search are as follows:
● Find users: Sort search results according to user attributes according to user nicknames matched by input;
Search topics: matching topics according to user input, sorting search results according to topic attributes;
● Search posts: match post content according to user input, sort search results according to content attributes;
● Search or recommend according to geographical location: according to the address information input by the user, convert it into latitude and longitude, match the address information in the topic and content within a certain distance range, and sort the search results according to their attributes.
In fact, although the concept of search is deeply rooted, it is not easy to make a good search service experience. In terms of details such as performance and search accuracy, there are difficulties that cannot be ignored, and these are often the keys to improving the search experience. Customer difficulties are as follows:
Database based performance issues:
·The data is generally stored in MySql database in sub-database and sub-table, and there are association operations when searching, so the query efficiency is very low;
Database query performance is difficult to achieve millisecond level, user search experience is very poor.
Database based matching problem:
·In the database, it is impossible to sort after comprehensively considering the attributes of query conditions;
·Some special characters cannot be filtered in the database, and if there are special characters in the user nickname during the search process, it will be inaccurate.
Questions based on the open source search engine Elasticsearch:
The default BM25 relevance ranking does not ensure the reasonableness of search results;
·Simple word breakers mishandle special characters.
For example, when searching for the user "sea," why is the big V user "de star sea in kkw eyes" ranked after "looking for that sea"?
For customers who want to build APP search, starting from the technical level, the implementation scheme is as follows. Cloud search service is based on Elasticsearch, which can complete terabyte retrieval tasks and return results in milliseconds, which can solve the performance problems of traditional databases well.
Overall implementation plan
In cloud search services, we have made the following optimizations for customer search pain points to help customers enhance user experience, improve efficiency and achieve rapid business growth.
Optimization of search schemes in cloud search services:
● Support custom thesaurus, users add hot search words, keywords, network common words, etc. to the thesaurus to improve the matching accuracy of search input;
● Support custom weights, users can define the weights of different query conditions according to the business to determine the sorting of the final results;
● Support more accurate search (planning). Cloud search service automatically updates attribute weights according to click behavior of search results to achieve more accurate sorting of final results.
In cloud search services, we provide additional solutions for word segmentation and thesaurus to help customers solve problems such as search accuracy.
Cloud Search Service Word Segmentation and Thesaurus Scheme:
● Because the user nickname and content, topic expression meaning is different, for different fields can adopt different word segmentation, in order to improve matching accuracy. The specific effects are shown in the table below:
● Adopt the use of simplified and complex word segmentation, and can also support all searchable fields to process traditional characters;
● For hot search words, keywords and common words on the Internet, they often change over time. Therefore, we update the user-defined thesaurus to improve search accuracy.
Overall, cloud search services (http://t.cn/RFzAmMc) have the following advantages in Internet APP search scenarios:
● One-click operation, worry-free operation and maintenance
All main operations are one-click accessible, professional team close-fitting operation and maintenance, quickly realize the construction of search function module;
● Flexibility
On-demand application, online expansion, easy to meet business growth needs;
● Flexible thesaurus management
Support custom thesaurus and Pinyin word segmentation, support thesaurus hot update, no restart, configuration will take effect, no impact on the end user;
● Flexible word segmentation, flexible weight
Different fields use different word segmentation methods to improve search accuracy. Different conditions set different weights to improve search accuracy;
● Efficient real-time retrieval
The millisecond search results are returned, and new data can be retrieved immediately after being stored, providing a good user experience.
The above is how the cloud search service is applied in the APP search scene. Xiaobian believes that some knowledge points may be seen or used in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.