XML in a relational database design and implementation of full-text retrieval
- Author
- YangZuo
- Advisor
- LiuZhiQing
- School
- Beijing University of Posts and Telecommunications
- Major
- Software Engineering
- Classification
- TP311.13 Database theory and systems
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 50
- Citations
- 0
Abstract
As the development of relational database technology, traditional DBMS cannot meet the requirements of specific applications. Conformance with XML standard and full-text search function of DBMS becomes the current research area of DBMS. For example, when full-text search in DBMS has been implemented, user can use full-text search in DBMS inside SQL, even some complicated query such as aggregate function and join operation which cannot be done in traditional search engines.On the other hand, XML become the standard of information exchange. It also becomes part of SQL 2008. Query XML document is another focus for industry. Current products mainly focus on structured XML query languages. However, XML search based on keyword function is simple and hard to use. Full-text search in XML document have many advantages. User doesn’t have to remember the structure of XML document (DTD, Schema) or be expert to XML query languages. Full-text search of XML document will be popular in the future, since the user pattern like the search engine.This paper describes the way we design and implement a XML Full-text Search in Sphinx, a DBMS developed by Sphinx Project of Teradata Corporation. The project content is as following: ●Support full-text search of XML documents.●The XML full-text search in Sphinx was integrated with DBMS query parser engine. Users can query specific complicated SQL with full-text search.●Use a self-index inverted list in system, a new data structure for XML full-text search.●Provide simple ranking both the element and document based on content.Sphinx is conformed to SQL standard 2003. The design specification is ISO/IEC 9075-14:Information technology--Database languages--SQL--Part 14:XML-Related Specifications (SQL/XML).
Table of contents
Abstract 4-5
ABSTRACT 5-7
directory 7-9
Chapter Introduction 9-11 <br / > 1.1 relational database challenges 9-10
1.2 project Background 10
1.3 thesis organization 10-11
chapter raises the question and related research 11-25
2.1 current commercial database full-text search 11-14
2.2 XML 14-19
2.2.1 XML Introduction 14-15
2.2.2 XML document structure DTD 15-16
2.2.3 XML query 16-17
2.2.4 XML the data model 17-18
2.2.5 XML node encoding 18-19
2.3 XML text retrieval challenges 19-21 <br / > 2.4 XML keyword search to support the significance of 21
2.5 core data structure - inverted index 21-23
2.6 related work 23-25 ??<br / > the Introduction Chapter Sphinx 25-37
3.1 Sphinx 's features 25-26
3.2 Sphinx system structure 26-27 <br / > 3.3 main module features 27-28
3.4 Sphinx storage 28-32
3.4.1 file Manager 28-29
3.4 .2 index type 29-30
3.4.3 tuple storage 30-31
3.4.4 tuple data structure 31-32
3.5 Sphinx query 32-37
3.5.1 query Analyzer 33-35
3.5.2 query Planner and Optimizer 35 <br / > 3.5.3 query executor 35-37
Chapter XML data on the design and implementation of full-text retrieval 37-73
4.1 XML text search Overview 37-39
4.1.1 search full-text search , and other types of comparison 38
4.1.2 Finding XML data 38
4.1.3 using full-text search and XML structure document retrieval 38-39
4.2 Sphinx full-text search in the design 39-43
4.2.1 system Structure 39-40 <br / > 4.2.2 inverted index 40-41
4.2.3 data schema 41
4.2.4 main algorithm 41-43
4.3 Full Text Search examples 43
4.3.1 roles and Permissions 43
4.3.2 sample pattern of full-text retrieval and data 43
4.4 CONTAINS and ora : contains overview 43-46
4.4.1 SQL function CONTAINS Overview 44-45
4.4.2 XPath function ora: contains overview 45-46
4.4.3 CONTAINS and ora: contains a comparison 46
4.5 CONTAINS SQL function 46-62
4.5.1 using SQL function CONTAINS full-text search 47-48
4.5.2 SQL function SCORE 48-49
4.5.3 limit the scope CONTAINS search 49-55
4.5.4 CONTAINS projected results 55-56
4.5.5 using the CONTEXT index indexed 56-62
4.6 XPath function ora: contains 62-71
4.6.1 use XPath function ora: contains full-text search 62-63
4.6.2 limit ora: contains query range 63
4.6.3 projection ora: contains results 63
4.6.4 ora: contains query strategy 63-67
4.6.5 ora: contains the efficiency 67-71
4.7 Text Path BNF Specification 71-73
Chapter test Results 73-74
Chapter Summary and Outlook 74-75
reference paper 75
reference books 75-77
Appendix 77-93
Thanks 93
Related dissertations
- XQuery Query Processor Design and Implementation
- Research and Application of Data Portal in Electricity Dispatch Management Information System
- Acquisition, Storage and Retrieval of E-commerce Mass Data
- The Real-time Search Engine of Social Network Service
- Design and Implementation of the XProc Processor Based on.NET
- Design and Implementation of the XML Document Processing System Based on Xproc
- Design and Implementation of the Campus Garage Trading System
- Design and Implementation of Hadoop Architecture Full-Textsearch Engine Based on Virtualisation Technology
- Research of Web Information Extraction Based on XML
- Research of Information Extraction from Web Documents Based on Tree Automaton
- Research and Application of Information Retrieval Based on XML Document
- Research of Keyword Query Processing on XML Data
- Research on Subtree Results Generation of XML Keyword Search
- Results Diversification for XML Keyword Search Based on Semantics
- Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
- Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
- Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
- Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
- The Design and Implementation of WebDAV Service in XML Database
- Research of Heterogeneous Database Integration Based on Web Service and XML