Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Index establishing and using method and device

A technology for establishing methods and indexes, which is applied in the field of data processing, and can solve problems such as increasing the difficulty of coding business codes and slow indexing speed

Active Publication Date: 2019-07-16
ALIBABA GRP HLDG LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiment of the present application is to provide a method and device for establishing and using an index to solve the problem of slow indexing speed in related technologies, and the coupling of the index code for creating an index and the business code for developing a business program, thereby increasing the Coding difficulty of business code

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
  • Index establishing and using method and device
  • Index establishing and using method and device
  • Index establishing and using method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] In order to solve the problem of slow indexing speed in related technologies and the coupling of index codes for creating indexes and business codes for developing business programs, thereby increasing the difficulty of coding business codes, a new index is provided in the embodiment of this application A method and device for establishing and using the method, the method is: respectively generating a corresponding service index corresponding to the current time granularity for each service, wherein the above-mentioned time granularity refers to a cycle for generating a corresponding service index for a certain service; for the above-mentioned Each business in each business performs the following operations respectively: configure at least one index alias for each business index corresponding to a business, where one index alias is used to associate at least A business index.

[0063] The technical solutions in the embodiments of the present application will be clearly ...

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 relates to the technical field of data processing, in particular to an index establishing and using method and device. The method comprises the following steps: for each service, generating a corresponding service index corresponding to a current time granularity, the time granularity being a period for generating a corresponding service index for a certain service; and respectivelyexecuting the following operations on each service in each service: for each service index corresponding to one service, configuring at least one index alias, one index alias being used for associating at least one service index generated by the corresponding service in a specified time dimension. According to the method, a single service index does not need to bear the service data correspondingto one service, so that the indexing speed is increased, the required service index can be inquired through the corresponding index alias configured for the index corresponding to one service, decoupling between the service and the index is realized, and the coding difficulty of the service code is reduced.

Description

technical field [0001] The present application relates to the technical field of data processing, in particular to a method and device for establishing and using an index. Background technique [0002] With the rapid development of Internet technology, the amount of resources and business volume on the Internet is increasing rapidly. The search server (ElasticSearch, ES) based on Lucene provides a full-text search engine with distributed multi-user capabilities. ElasticSearch is developed in Java and released as open source under the terms of the Apache license. In related technologies, the indexing method generally adopted is to create a corresponding ES index for a service. However, after the index is created, the key attributes of the index cannot be changed, such as the number of index shards (shards). Then, as the business goes online, the accumulated business data will increase. The pressure is also increasing, which will lead to slow indexing speed, which will affec...

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
IPC IPC(8): G06F16/22
CPCG06F16/2228
Inventor 刘雄浩许飞飞
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products