Search Result Output Method Preventing Broken Links
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing search result output methods often result in broken links when terminal capacity is limited, as they do not include files storing referenced items in the search query extraction data.
Innovation Solution
A method that dynamically edits search results by referencing index information with offset to include both the item corresponding to the search query and any referenced items in the description, ensuring self-contained output even with limited terminal resources.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Quantity of substance
If only the item corresponding to the search query keyword is extracted and output, then the terminal data capacity requirement is reduced, but broken links occur when the description references different items not included in the output
Solution Approach 1:
The system performs preliminary analysis of the description content to identify references to different items before generating the search result output. By detecting reference expressions (such as hyperlinks or reference markers) in advance, the system proactively determines which additional items need to be included in the output data, preventing broken links before they occur.
Solution Approach 2:
The system introduces an intermediary processing step that analyzes the description content and identifies references to other items. This intermediary process acts as a bridge between the search query processing and the final output generation, ensuring that all referenced items are properly included in the search result data before it is sent to the terminal.
2Reliability
If all referenced items are included in the search result output, then link integrity is maintained, but the data transmission volume and processing complexity increase
Solution Approach 1:
The system extracts only the specific information needed from the description content - namely, the reference expressions that indicate links to different items. Rather than processing or including all possible data, the system selectively extracts only the reference markers and uses them to determine which additional items must be included in the output, simplifying the overall processing complexity.
3Device complexity
If reference expressions are added without identifying referenced items, then the structure is simple, but the references cannot be resolved and become broken links
Solution Approach 1:
The system copies the reference expressions (such as hyperlinks or reference markers) from the description content and includes them in the search result output. By preserving the original reference structure and combining it with the identified referenced items, the system maintains the simplicity of the reference structure while ensuring that the references can be properly resolved at the terminal side.
Data Source
AI summary
A method for outputting a search result includes: executing a reception process that includes receiving a search query for target data; executing a candidate item identification process that includes referring to index information associating each of a plurality of items included in the target data with a position of a corresponding one of the items, and identifying a first storage area configured to store an item corresponding to a keyword included in the search query; and executing an addition process that includes when a description included in the corresponding one of the items includes a reference to a different item, referring to the index information, and adding information on a second storage area configured to store the different item to the reference to the different item.


