CN106649529A - Full-text retrieval method applied during transmission through HTTP protocol - Google Patents
Full-text retrieval method applied during transmission through HTTP protocol Download PDFInfo
- Publication number
- CN106649529A CN106649529A CN201610919823.3A CN201610919823A CN106649529A CN 106649529 A CN106649529 A CN 106649529A CN 201610919823 A CN201610919823 A CN 201610919823A CN 106649529 A CN106649529 A CN 106649529A
- Authority
- CN
- China
- Prior art keywords
- text
- full
- http
- lucene
- web application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computational Linguistics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a full-text retrieval method applied during transmission through a HTTP protocol. The retrieval method comprises the following steps that 1, a HTTP query and full-text retrieval demand is initiated by a user through a Web application program page; 2, a program acquires a queried text through the HTTP protocol; 3, queried HTTP text content is segmented by a word segmentation tool; 4, words obtained after word segmentation are stored in a lucene database; 5, full-text retrieval and query are initiated to the lucene through the Web application program; 6, a displayed retrieval result is returned to the user through the Web application program. Text data in a HTTP message is acquired through any query customized by the user, different word segmentation requirements are met by means of different types of word segmentation tools, the data is stored through the lucene storage software, the display field is marked and highlighted through a full-text retrieval function of the lucene, and front desk business displaying is achieved.
Description
Technical field
The invention belongs to internet data search method technical field, more particularly to during a kind of transmission of use http protocol
Text searching method.
Background technology
With the rise of internet, data interaction is carried out by Internet Server and has become a universal business
Demand, the user's request of internet also occurs diversity and complexity.For example, user needs simultaneously complete during inquiry
Into the demand of full-text search.Common practice realizes that the content to be inquired about user is stored, after participle, supports to examine in full
Rope.But the method for data pre-storage, limits the query context of user.The real demand of user is desirable to for arbitrary inquiry
Real-time full-text search can be accomplished.Therefore, it is badly in need of a kind of method for supporting full-text search.
The content of the invention
The present invention provides text searching method when a kind of use http protocol is transmitted, to solve above-mentioned background technology in carry
The problem for going out.
Technical problem solved by the invention employs the following technical solutions to realize:The present invention is provided one kind and is assisted using HTTP
Text searching method during view transmission, search method is as follows:
1st, user initiates HTTP inquiries and full-text search demand by the web application page;
2nd, program obtains the text of inquiry by http protocol;
3rd, the HTTP content of text of inquiry is decomposed by participle instrument;
4th, the word obtained after decomposing is stored in lucene databases;
5th, initiate full-text search to lucene by web application again to inquire about;
6th, retrieval result will show that result returns user by web application.
Beneficial effects of the present invention are:The arbitary inquiry customized by user, obtains the text data in HTTP message, borrows
Different types of participle instrument is helped, the participle requirement of different demands is realized, using lucene software is stored, data are deposited
Storage, then using the full-text search function of lucene, marks and is highlighted field, realizes representing for front desk service, is passing through
During HTTP transmission texts, full-text search is carried out in real time.
Description of the drawings
Fig. 1 is the working-flow figure of the present invention.
Specific embodiment
The present invention is described further below in conjunction with accompanying drawing:A kind of full-text search side when use http protocol is transmitted
Method, search method is as follows:
1st, user initiates HTTP inquiries and full-text search demand by the web application page;
2nd, program obtains the text of inquiry by http protocol;
3rd, the HTTP content of text of inquiry is decomposed by participle instrument;
4th, the word obtained after decomposing is stored in lucene databases;
5th, initiate full-text search to lucene by web application again to inquire about;
6th, retrieval result will show that result returns user by web application.
The arbitary inquiry customized by user, obtains the text data in HTTP message, by different types of participle work
Tool, realizes the participle requirement of different demands, and using lucene software is stored, and data is stored, then using lucene's
Full-text search function, marks and is highlighted field, realizes representing for front desk service, when text is transmitted by HTTP, in real time
Carry out full-text search.
Finally illustrate, choose above-described embodiment and it has been described in detail and description is to preferably say
The technical scheme of bright patent of the present invention, is not intended to be confined to shown details.Those skilled in the art is to the present invention's
Technical scheme is modified or is replaced on an equal basis, the objective and scope without deviating from technical solution of the present invention, all should be covered at this
In the middle of the right of invention.
Claims (1)
1. text searching method when a kind of use http protocol is transmitted, it is characterised in that:Search method is as follows:
1st, user initiates HTTP inquiries and full-text search demand by the web application page;
2nd, program obtains the text of inquiry by http protocol;
3rd, the HTTP content of text of inquiry is decomposed by participle instrument;
4th, the word obtained after decomposing is stored in lucene databases;
5th, initiate full-text search to lucene by web application again to inquire about;
6th, retrieval result will show that result returns user by web application.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610919823.3A CN106649529A (en) | 2016-10-21 | 2016-10-21 | Full-text retrieval method applied during transmission through HTTP protocol |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610919823.3A CN106649529A (en) | 2016-10-21 | 2016-10-21 | Full-text retrieval method applied during transmission through HTTP protocol |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106649529A true CN106649529A (en) | 2017-05-10 |
Family
ID=58856944
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610919823.3A Pending CN106649529A (en) | 2016-10-21 | 2016-10-21 | Full-text retrieval method applied during transmission through HTTP protocol |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106649529A (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130275454A1 (en) * | 2012-04-12 | 2013-10-17 | Martin Pfeifle | Full Text Search Using R-Trees |
| CN104391941A (en) * | 2014-11-25 | 2015-03-04 | 浪潮电子信息产业股份有限公司 | Method for rapidly establishing full-text retrieval tool for common files |
-
2016
- 2016-10-21 CN CN201610919823.3A patent/CN106649529A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20130275454A1 (en) * | 2012-04-12 | 2013-10-17 | Martin Pfeifle | Full Text Search Using R-Trees |
| CN104391941A (en) * | 2014-11-25 | 2015-03-04 | 浪潮电子信息产业股份有限公司 | Method for rapidly establishing full-text retrieval tool for common files |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9454600B2 (en) | Refining image relevance models | |
| US20210224488A1 (en) | Business graph engine for connection recommendations | |
| US20240176948A1 (en) | Method & system for labeling and organizing data for summarizing and referencing content via a communication network | |
| CN103955463A (en) | Policy deconstruction method and system of government | |
| US20170048345A1 (en) | Precision push method for internet information | |
| WO2015069959A4 (en) | Systems and methods for electronically monitoring audience attentiveness and receptiveness | |
| Taylor et al. | Modern and Contemporary Southeast Asian Art | |
| WO2004095432A3 (en) | Generation and presentation of search results using addressing information | |
| CN106649529A (en) | Full-text retrieval method applied during transmission through HTTP protocol | |
| Hashemian Far PhD | The role of social capital and altruism in prediction of medical doctors' attitudes to organ donation | |
| MX2007003275A (en) | System and method for structuring information. | |
| CN107506413A (en) | A kind of querying method based on Lucene wrong words | |
| CN104050295A (en) | Interaction method and system | |
| CN103309880A (en) | Method and device for acquiring object issue information based on search results of answered questions | |
| Engel et al. | Towards accessible charts for blind and partially sighted people | |
| CN105447157A (en) | Online information consultation and retrieval system | |
| Veisy et al. | hadith, text, validity, metods of understanding, text bugs, utilization. | |
| CN110069673A (en) | A kind of system and method for internet site grading | |
| Goulding et al. | How can older people co-researchers and professionals learn to co-produce together? | |
| Allison | Frederik Byrn Kohlert, Serial Selves: Identity and Representation in Autobiographical Comics. | |
| Xian Lynnette et al. | Cross-Model Image Annotation Platform with Active Learning | |
| Rinner | Christa Wolf: A Companion ed. by Sonja E. Klocke and Jennifer R. Hosek | |
| Minashita | Humid in Tokyo | |
| Soutif | Kanloṅ ou mandira, un palais à Purandarapura à la fin du VIIe siècle de notre ère? | |
| CN101996238A (en) | Method and device for improving searching matching degree by using multilingual input |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170510 |
|
| WD01 | Invention patent application deemed withdrawn after publication |