Method and system for document indexing and data querying
First Claim
1. A method for generating a document index, comprising:
- obtaining a document to be indexed;
performing a monadic partition operation on the document to obtain a plurality of monadic partitions;
for each monadic partition in the plurality of monadic partitions;
determining whether said each monadic partition is a filter character;
in the event said each monadic partition is a filter character, forming a polynary partition by combining the monadic partition with at least one other monadic partition adjacent to the monadic partition, and indexing the polynary partition; and
in the event that the monadic partition is not a filter character, indexing the monadic partition.
1 Assignment
0 Petitions
Accused Products
Abstract
Generating a document index comprises: obtaining a document to be indexed; performing a monadic partition operation on the document to obtain a plurality of monadic partitions; and for each monadic partition in the plurality of monadic partitions: determining whether said each monadic partition is a filter character; in the event said each monadic partition is a filter character, forming a polynary partition by combining the monadic partition with at least one other monadic partition adjacent to the monadic partition, and indexing the polynary partition; and in the event that the monadic partition is not a filter character, indexing the monadic partition. Querying data comprising: receiving a data query; performing a monadic partition operation on the data query to obtain a plurality of monadic partitions; and for each monadic partition in the plurality of monadic partitions: determining whether said each monadic partition is a filter character; in the event that the monadic partition is a filter character, forming a polynary partition by combining the monadic partition with at least one monadic partition adjacent to the monadic partition, and searching a preset index using the polynary partition to obtain a search result corresponding to the polynary partition; and in the event that the monadic partition is not a filter character, searching the preset index using the monadic partition to obtain a search result corresponding to the monadic partition; and combining the search results to form a final query search result.
43 Citations
20 Claims
-
1. A method for generating a document index, comprising:
-
obtaining a document to be indexed; performing a monadic partition operation on the document to obtain a plurality of monadic partitions; for each monadic partition in the plurality of monadic partitions; determining whether said each monadic partition is a filter character; in the event said each monadic partition is a filter character, forming a polynary partition by combining the monadic partition with at least one other monadic partition adjacent to the monadic partition, and indexing the polynary partition; and in the event that the monadic partition is not a filter character, indexing the monadic partition. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for querying data, comprising:
-
receiving a data query; performing a monadic partition operation on the data query to obtain a plurality of monadic partitions; for each monadic partition in the plurality of monadic partitions; determining whether said each monadic partition is a filter character; in the event that the monadic partition is a filter character, forming a polynary partition by combining the monadic partition with at least one monadic partition adjacent to the monadic partition, and searching a preset index using the polynary partition to obtain a search result corresponding to the polynary partition; and in the event that the monadic partition is not a filter character, searching the preset index using the monadic partition to obtain a search result corresponding to the monadic partition; and combining the search results to form a final query search result. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A document indexing system, comprising:
-
one or more processors coupled to an interface, configured to; obtain a document to be indexed; perform a monadic partition operation on the document to obtain a plurality of monadic partitions; and for each monadic partition in the plurality of monadic partitions; determine whether said each monadic partition is a filter character; in the event said each monadic partition is a filter character, form a polynary partition by combining the monadic partition with at least one other monadic partition adjacent to the monadic partition, and index the polynary partition; and in the event that the monadic partition is not a filter character, index the monadic partition; and one or more memories coupled to one or more processors, configured to provide the processors with instructions. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A data querying system, comprising:
-
one or more processors coupled to an interface, configured to; perform a monadic partition operation on the data query to obtain a plurality of monadic partitions; for each monadic partition in the plurality of monadic partitions; determine whether said each monadic partition is a filter character; in the event that the monadic partition is a filter character, form a polynary partition by combining the monadic partition with at least one monadic partition adjacent to the monadic partition, and search a preset index using the polynary partition to obtain a search result corresponding to the polynary partition; and in the event that the monadic partition is not a filter character, search the preset index using the monadic partition to obtain a search result corresponding to the monadic partition; and combine the search results to form a final query search result; and one or more memories coupled to one or more processors, configured to provide the processors with instruction. - View Dependent Claims (17, 18, 19, 20)
-
Specification