Full-text searching method and device based on HBase

A full-text and indexing technology, applied in the computer field, can solve problems such as low query efficiency, achieve the effect of fast speed and improve query efficiency

Active Publication Date: 2015-06-24
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF2 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a full-text search method and device based on HBase to solve the problem of low query efficiency in the prior art

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
  • Full-text searching method and device based on HBase
  • Full-text searching method and device based on HBase
  • Full-text searching method and device based on HBase

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0057] like figure 1 As shown, the embodiment of the present invention provides a full-text retrieval method based on HBase, which connects HBase with the Solr engine, expands the Solr EndPoint object, and stores the index content targeted by the KeyValue value to be retrieved in HBase in the Solr engine in advance ; the method may include the following steps:

[0058] Step 101: the server receives a query request sent by the client, and the query requ...

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 provides a full-text searching method and device based on HBase. The method comprises the steps of connecting the HBase with a Solr engine, extending a Solr EndPoint object, and storing index content aimed by a KeyValue to be searched in the HBase to the Solr engine in advance; receiving a query request sent by a client-side through a server-side, wherein the search request carries query conditions; calling the Solr EndPoint object through the server-side, and transmitting the query request to the Solr engine through the Solr EndPoint object so that the Solr engine can carry out full-text search on the index content according to the query request; receiving a search result returned by the Solr engine through the Solr EndPoint object and sending the search result to the client-side. According to the scheme, the search efficiency is improved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an HBase-based full-text search method and device. Background technique [0002] HBase is a distributed, column-oriented open source database that can store tens of billions of structured / unstructured data. Column families and column values ​​can be defined in the HBase table, and files are stored according to the column family organization. The underlying storage of the data table is a KeyValue format, and the Rowkey (row key) is sorted and established according to the dictionary. [0003] At present, the data stored in HBase can be indexed, and the index can use Rowkey conditional query to realize the query of data stored in HBase, and the Rowkey conditional query can use Filter to realize conditional query. [0004] However, the performance of filter conditional query is poor. Some query requirements may require a global scan of the HBase table. For a tens of billions of da...

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/30
CPCG06F16/334
Inventor 贾德星徐正礼魏金雷
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
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