Multi-Source Search Index for Database Query Optimization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current database query systems face challenges in efficiently querying multiple different tables, especially when trying to join internal and external data sources, as this process can be computationally expensive and often lacks necessary access and control, particularly for external data sources.
Innovation Solution
A multi-source search designer and system that generates a search index from different fields across various data sources, including external ones, allowing for a unified search without the need for a priori joining of data sources, using a search user interface and search engine to process query terms across these fields.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If JOIN statement is used to treat multiple tables as one, then query capability across multiple tables is improved, but computational cost increases and access control becomes more complex
Solution Approach 1:
The patent segments the data access approach by creating separate search indexes for each table rather than joining tables together. Each table maintains its own index structure, allowing independent querying without the computational overhead of joining multiple tables. This segmentation resolves the contradiction by maintaining query capability across multiple tables while avoiding the high computational cost of JOIN operations.
Solution Approach 2:
The patent introduces a search index as an intermediary between the query and the actual table data. Instead of directly joining tables during query execution, the search index acts as a mediator that stores pre-processed data from multiple tables, enabling efficient cross-table queries without the computational burden of real-time joining. This intermediary structure resolves the contradiction by providing unified query capability while reducing computational cost.
2Adaptability or versatility
If JOIN statement is used to treat multiple tables as one, then query capability across multiple tables is improved, but system complexity increases
Solution Approach 1:
The patent segments the data access architecture by maintaining separate indexes for each table rather than creating a joined view. This segmentation simplifies access control because each table's index can be independently managed and authorized, avoiding the complex permission management required for joined table structures. The segmentation approach resolves the contradiction by maintaining multi-table query capability while reducing system complexity.
Solution Approach 2:
The search index serves as an intermediary layer that simplifies access control for multi-table queries. Instead of managing permissions across joined tables, the index acts as a mediator that provides unified access to data from multiple tables through a single interface. This intermediary structure resolves the contradiction by maintaining query capability across multiple tables while reducing access control complexity.
3Adaptability or versatility
If data is accessed from external data sources, then data accessibility is improved, but control and security are reduced
Solution Approach 1:
The patent introduces a search index as an intermediary between the application and external data sources. The index is created by extracting and storing data from external sources in a controlled manner, allowing the application to query the index without direct access to the external data sources. This intermediary structure resolves the contradiction by maintaining data accessibility from external sources while improving control and security through centralized index management.
Solution Approach 2:
The patent applies preliminary action by pre-extracting and storing data from external sources into the search index before queries are executed. This preliminary data extraction and indexing allows the application to query data from external sources without establishing direct connections, thereby maintaining accessibility while improving security and control through the intermediary index structure.
Data Source
AI summary
Embodiments of the invention provide a method, system and computer program product for a multi-source search. In an embodiment, a method for multi-source searching for a data driven application includes defining a form for a data driven application that includes user interface controls each corresponding to respectively to different fields in different data sources. The method also includes generating a search index for the form incorporating the different fields, coupling the form with a search user interface that includes a search control configured to accept at least one query term and associating the search control with a selection of the different fields. Thereafter, during execution of the data driven application, a search engine query can be directed for the selection of the different fields in the search index and not the different data sources according to the at least one query term provided in the search user interface.


