Method and system for optimization of faceted search
Abstract
In general, embodiments of the technology relate to a method for multipath searching. The method includes generating a multipath index and using the multipath index to service a request. Generating the multipath index includes obtaining a main path, a first subpath and a plurality of additional subpaths from a multipath index definition, identifying documents that include the first subpath, obtaining values for the first subpath and the plurality of additional subpaths from the documents, creating subpath index entries for the documents that include the values for the additional subpaths, and populating the multipath index with the created subpath index entries. The subpath index entries in the multipath index can be associated with keys corresponding to values associated with the first subpath.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 1.
Claims (8)
- Claim 1Independent Claim
A method for multipath searches, comprising: receiving a multipath index definition for a multipath index, the multipath index definition comprising: a main path for the multipath index; a first subpath relative to the main path; a property associated with the first subpath, the property associated with the first subpath indicating that the first subpath comprises a conditional subpath; a second subpath relative to the main path; and a property associated with the second subpath; generating, according to the multipath index definition, the multipath index for a collection of documents stored on a computer storage medium, comprising: obtaining the main path from the multipath index definition; selecting the first subpath based on the property associated with the first subpath; identifying, from the collection of documents, a first document that includes the first subpath; obtaining a first value associated with the first subpath from the first document; selecting the second subpath base
- Claim 2Depends on #1
The method of claim 1, wherein generating the multipath index further comprises: identifying, from the collection of documents, a second document that includes the first subpath; obtaining, from the second document, the first value associated with the first subpath; obtaining, from the second document, a second value associated with the second subpath; creating a second subpath index entry for the second subpath, the second subpath index entry for the second subpath comprising the second value associated with the second subpath and a document identifier for the second document; and storing the second subpath index entry in association with the first key in the multipath index.
- Claim 3Depends on #2
The method of claim 2, wherein the first subpath index entry comprises a first node identifier identifying a portion of the first document and the second subpath index entry comprises a second node identifier identifying a portion of the second document.
- Claim 4Depends on #2
The method of claim 2, wherein generating the multipath index further comprises: identifying, from the collection of documents, a third document that includes the first subpath; obtaining, from the third document, a second value associated with the first subpath; obtaining, from the third document, a third value associated with the second subpath; creating a third subpath index entry for the second subpath, the third subpath index entry for the second subpath comprising the third value associated with the second subpath and a document identifier for the third document; and storing the third subpath index entry in association with a second key in the multipath index, the second key comprising the second value associated with the first subpath.
- Claim 5Depends on #1
The method of claim 1, wherein generating the multipath index further comprises: identifying, from the collection of documents, a second document that includes the first subpath; obtaining, from the second document, a second value associated with the first subpath; obtaining, from the second document, a second value associated with the second subpath; creating a second subpath index entry for the second subpath, the second subpath index entry for the second subpath comprising the second value associated with the second subpath and a document identifier for the second document; and storing the second subpath index entry in association with a second key in the multipath index, the second key comprising the second value associated with the first subpath.
- Claim 6Depends on #1
The method of claim 1, wherein using the multipath index to service the search query from the client computer comprises: identifying that the search query includes the first subpath, the first value associated with the first subpath and the second subpath; determine an initial result set that comprises the first subpath index entry using the first value associated with the first subpath to search the multipath index; generate a final result by processing the initial result set, including the first subpath index entry.
- Claim 7Depends on #6
The method of claim 6, wherein the property associated with the first subpath indicates that the first subpath enables identification of subpath index entries to obtain the initial result set in response to the search query and the property associated with the second subpath indicates that the second subpath is configured to generate the final result from the initial result set, but not to generate the initial result set.
- Claim 8Depends on #1
The method of claim 1, wherein the structured document that is associated with the first subpath is the first document, wherein, in the first document, the second subpath is at a same hierarchical level as the first subpath relative to the main path, wherein the multipath index comprises the main path and a subpath index associated with the main path, and wherein the subpath index comprises the first subpath index entry indexed by the first key.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of, and claims a benefit of priority under 35 U.S.C. 120 of the filing date of U.S. patent application Ser. No. 16/711,014, filed Dec. 11, 2019, issued as U.S. Pat. No. 11,620,268, entitled “ METHOD AND SYSTEM FOR OPTIMIZATION OF FACETED SEARCH, ” which is a continuation of, and claims a benefit of priority under 35 U.S.C. 120 of the filing date of U.S. patent application Ser. No. 15/281,207 filed Sep. 30, 2016, issued as U.S. Pat. No. 10,521,408, entitled “ METHOD AND SYSTEM FOR OPTIMIZATION OF FACETED SEARCH, ” both of which are incorporated herein by reference. BACKGROUND One method for accessing stored content is to use an index (or indices). An index may provide direct access to a particular document(s), for example, in response to a query without requiring traversal of all of the stored content. BRIEF DESCRIPTION OF DRAWINGS FIG. 1 shows an exemplary system in accordance with one or more embodiments of the technology. FIG. 2 A shows an exemplary multipath index definition in accordance with one or more embodiments of the technology. FIG. 2 B shows an exemplary subpath definition in accordance with one or more embodiments of the technology. FIG. 3 A shows a multipath index in accordance with one or more embodiments of the technology. FIG. 3 B shows a subpath index in accordance with one or more embodiments of the technology. FIG. 3 C shows a subpath index entry in accordance with one or more embodiments of the technology. FIG. 4 shows a flowchart for generating a multipath definition in accordance with one or more embodiments of the technology. FIG.
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 12,705,278 B2 | Logging image definition recognition method and device, medium, and electronic equipment | 2026 | 0 |
References Cited — Backward Prior Art (17)
| Patent | Title | Year | Citations |
|---|