Implementation method for associational word search based on redis technology

A technology for searching associations and implementing methods, which is applied in the direction of network data retrieval, network data indexing, and other database retrieval, etc., and can solve problems such as impracticability, and achieve the effect of improving user experience

Inactive Publication Date: 2017-07-04
北京再塑宝科技有限公司
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The existing function of searching association words is implemented, for example, like "%keyword%" in the database is implemented, but only entries containing keywords will be hit. If a space is added in the middle, this method will be powerless, and If you want to sort the hit results by relevance, this method cannot be achieved

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Implementation method for associational word search based on redis technology
  • Implementation method for associational word search based on redis technology
  • Implementation method for associational word search based on redis technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the above-mentioned purpose, features and advantages of the present invention more obvious and easy to understand, the method for implementing search association words based on redis technology of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments of the present invention.

[0032] When the user enters the search, the system gives the recommended keywords for the search, which is realized through the ordered set (zset) in the five data structures of redis. Store these hot search terms in Redis. It is to store the instructions to be operated in a queue, and finally throw the queue to the server for execution, which effectively reduces unnecessary network transmission and improves the execution speed at the same time.

[0033] refer to figure 2 , the method of searching for associative words specifically includes the following processes:

[0034] Step 201: Preprocessing...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an implementation method for associational word search based on a redis technology. The method mainly comprises search keyword pre-processing, index establishment, setting of a search intent weight, and display of associational word results. The index establishment mainly comprises that a solrJ is used to establish an index of which a keyword orients to a search intent and establish an index of which a keyword prefix orients to the keyword. According to the embodiment of the invention, when a user conducts search, the user can find the needed keyword more quickly through analysis of character strings input by the user and dynamic keyword recommendation. In this way, the user's experience is improved.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to a method for implementing search association words based on redis technology. Background technique [0002] At present, for a website, whether it is a portal website or an e-commerce website, the search box plays an important role. It exists to allow users to search for what they want faster and more conveniently. [0003] Search association words have been widely used in major portals and e-commerce websites, and the intelligent search prompt function can help users find what they want as soon as possible. When the user enters the first character to be searched or the characters included in it, the search drop-down box will display items for the user to choose, and the user can select one of the items to complete the search, which avoids the user from entering all the characters. Improved user experience. [0004] The search association word function plays a very...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30G06F3/023
CPCG06F3/0237G06F16/951
Inventor 王清霞刘宁周国辉姜林
Owner 北京再塑宝科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products