XML Document Search Using Structural Inverted Index

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing keyword search methods in large collections of XML documents fail to provide meaningful results, as they do not utilize structural information, leading to users having to navigate through numerous documents to find relevant information, and lack summary displays of search results.

Innovation Solution

The creation of an inverted index that maps keywords to their structural locations within XML documents, allowing for efficient keyword lookup and displaying search results in context, along with a summary of search results across all documents.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If traditional keyword search methods are used on large XML document collections, then the search can be performed, but the results are meaningless and users must navigate through numerous documents to find relevant information

Engineering Contradiction:
Improvesearch result usabilityVSAvoidtime to find relevant information
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The patent segments the XML document structure into nodes and elements, creating an inverted index that maps keywords to specific structural locations (nodes, elements, attributes) rather than treating documents as homogeneous text blocks. This segmentation enables precise location of keywords within the hierarchical structure, allowing users to jump directly to relevant sections without navigating through entire documents.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an inverted index as an intermediary data structure between the XML documents and the search query. This intermediary maps keywords to their structural locations in the documents, enabling efficient retrieval of relevant information without requiring users to manually search through all documents. The inverted index acts as a mediator that translates user queries into precise location references within the document hierarchy.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If users search for keywords in XML documents without structural context, then the search is simple, but users lack context about where keywords appear in the document hierarchy

Engineering Contradiction:
Improvestructural context of keywordsVSAvoidsearch system complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

Instead of storing documents in a traditional linear text format and searching sequentially, the patent inverts the approach by creating an inverted index that maps keywords directly to their structural locations in the XML hierarchy. This inversion provides structural context about where keywords appear (which elements, attributes, or nodes contain the keywords) while maintaining search simplicity through direct lookup operations.

Inventive Principle:
Principle #13The other way round (Inversion)

3Ease of operation

If the system displays detailed search results with full document content, then users can assess relevance, but the interface becomes complex and difficult to use

Engineering Contradiction:
Improveinterface usabilityVSAvoidamount of search result information
Core Design Contradiction:
Ease of operationVSQuantity of substance

Solution Approach 1:

The patent extracts and displays only the relevant portions of documents where keywords are found, along with their structural context (which elements or attributes contain the keywords). Instead of presenting complete documents or excessive detail, the system extracts only the necessary information (keyword occurrences with structural location) to enable users to assess relevance efficiently, reducing information overload while maintaining usability.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS8650182B2Mechanism for efficiently searching XML document collections
Publication Date: 2014.02.11 ORACLE INT CORP
  • US8650182B2 patent drawing
  • US8650182B2 patent drawing
  • US8650182B2 patent drawing

AI summary

The techniques presented herein are directed towards providing a user-directed keyword-based search on a large collection of XML documents, and displaying a summary of results to the user. Prior to receiving search requests from a user, an offline analysis of a large collection of XML documents is performed to construct an inverted index of keywords. For each keyword, the index stores a set of location indicators that identify all the instances of the keyword found in the collection of documents. Once the index is constructed, keyword searching can be done efficiently by a keyword lookup in the index. Various display strategies enable the user to see the specific portion of a large XML document containing the keyword and/or path frequency information allowing the user to easily refine the search to specific paths within the collection of documents.