# US 2021/0011965 A1 · System and method for searching based on text blocks and associated search operators

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0011965 A1
- Document ID: US20210011965A1
- Status: Published application
- Kind: A1
- Application number: 17/038,214
- Filed: 2020-09-30
- Published: 2021-01-14
- Earliest claimed: 2018-03-05
- Assignees: Open Text SA ULC
- Applicants: Open Text SA ULC
- Inventors: Patrick Thomas Sidney Pidduck; Michael James Dent
- Web page: https://patentgrep.com/patent/US20210011965A1

## CPC

- G06F 16/24526: {Internal representations for queries}
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F 16/24534: {Query rewriting; Transformation}
- G06F 16/322: {Trees}
- G06F 16/3341: {using boolean model}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments as disclosed may provide a search operator that addresses the problems inherent in the searching based on an entire block of text. Specifically, embodiments as disclosed may provide a search operator that may address the problem of complex query construction and efficient and effective implementation for finding objects based on a block of text.

## Claims

### Claim at position 1

-20. (canceled)

### Claim 21

A method, comprising:
storing a corpus and an index of the corpus in a data store, the corpus comprising a set of objects, each object associated with a corresponding identifier;
a processor;
receiving a first search query having a TEXT operator, the TEXT operator including a block of text, the block of text comprising a set of text terms;
determining an initial set of search terms from the set of text terms;
evaluating the initial set of search terms to order the initial set of search terms using a set of preselection rules;
selecting a final set of search terms from the initial set of search terms based on the order of the initial set of search terms, where the final set of search terms is a reduced number of the initial set of search terms;
constructing a second search query from the final set of search terms, the second search query comprising a subset operator including a threshold and the final set of search terms;
executing the second search query against the corpus of objects using the index of the corpus to determine a set of responsive objects to the second search query by:
generating a search tree for the subset operator, the search tree having a subset operator node including a subset process configured according to the threshold, wherein the subset operator node has, for each of the final set of search terms, a sub-node comprising a term process corresponding to that search term;
executing the search tree using the index to determine the one or more responsive objects of the corpus that satisfy the subset operator and executing the search tree comprises receiving a result from each of the term processes at the subset process and evaluating the result from each of the term processes by the subset process to determine if an object has a number of the set of terms equal to or greater than the threshold; and
determining the identifiers for the one or more responsive objects of the corpus that satisfy the subset operator; and
returning the identifiers for the one or more responsive objects of the corpus in response to the first search query.

### Claim 22 (depends on 21)

The method of claim 21, further comprising identifying that a first term of the initial set of search term is a stop word by comparing the first term to a set of stop words determined based on a frequency of appearance of each of the set of stop words in the corpus of objects, wherein the order assigned to the first term is based on the identification of the first term as a stop word.

### Claim 23

A method, comprising:
storing a corpus and an index of the corpus in a data store, the corpus comprising a set of objects, each object associated with a corresponding identifier;
receiving a first search query having a text operator, the text operator including a block of text, the block of text comprising a set of text terms;
determining an initial set of search terms from the set of text terms;
evaluating the initial set of search terms to order the initial set of search terms using a set of preselection rules;
selecting a final set of search terms from the initial set of search terms based on the order of the initial set of search terms, where the final set of search terms is a reduced number of the initial set of search terms;
constructing a second search query from the final set of search terms;
executing the second search query against the corpus of objects using the index of the corpus to determine a set of responsive objects to the second search query; and
returning the identifiers for the one or more responsive objects of the corpus in response to the first search query.

### Claim 24 (depends on 23)

The method of claim 23, wherein the second search query comprises a subset operator including a threshold and the final set of search terms.

### Claim 25 (depends on 24)

The method of claim 24, further comprising:
generating a search tree for the subset operator, the search tree having a subset operator node including a subset process configured according to the threshold, wherein the subset operator node has, for each of the final set of search terms, a sub-node comprising a term process corresponding to that search term,
wherein executing the second search query comprises executing the search tree using the index to determine the one or more responsive objects of the corpus that satisfy the subset operator and executing the search tree comprises receiving a result from each of the term processes at the subset process and evaluating the result from each of the term processes by the subset process to determine if an object has a number of the set of terms equal to or greater than the threshold; and
determining the identifiers for the one or more responsive objects of the corpus that satisfy the subset operator.

### Claim 26 (depends on 25)

The method of claim 25, wherein each of the term processes is an iterator configured to evaluate the objects of the corpus according to an order of the identifiers of the objects and the result is an identifier of the next object containing the search term associated with the term process according to the order.

### Claim 27 (depends on 23)

The method of claim 23, wherein the initial set of search terms includes a phrase extracted from the initial set of terms and comprising a plurality of the initial set of terms.

### Claim 28 (depends on 23)

The method of claim 23, further comprising identifying that a first term of the initial set of search term is a stop word, wherein the order assigned to the first term is based on the identification of the first term as a stop word.

### Claim 29 (depends on 28)

The method of claim 28, wherein the identification of the first term as the stop word is done be comparing the first term to a set of stop words.

### Claim 30 (depends on 29)

The method of claim 29, wherein the set of stop words are determined based on a frequency of appearance of each of the set of stop words in the corpus of objects.

### Claim 31 (depends on 30)

The method of claim 30, wherein the index comprises a set of index partitions, each index partition corresponding to a portion of the set of objects of the corpus and wherein the set of stop words comprises partition stop words for each index partition, a first partition stop words for a first index partition determined based on a frequency of appearance of terms in a first portion of the set of objects corresponding to the first index partition.

### Claim 32

A search system, comprising:
a processor;
a data store, having a corpus and an index of the corpus stored thereon, the corpus comprising a set of objects, each object associated with a corresponding identifier;
a non-transitory computer readable medium, having instructions for:
receiving a first search query having a TEXT operator, the TEXT operator including a block of text, the block of text comprising a set of text terms;
determining an initial set of search terms from the set of text terms;
constructing a second search query from a final set of search terms, the second search query comprising an operator including a threshold and the final set of search terms;
executing the second search query against the corpus of objects using the index of the corpus to determine a set of responsive objects to the second search query by:
generating a search tree for the operator, the search tree having an operator node including a process configured according to the threshold, wherein the operator node has, for each of the final set of search terms, a sub-node comprising a term process corresponding to that search term;
executing the search tree using the index to determine the one or more responsive objects of the corpus that satisfy the operator and executing the search tree comprises receiving a result from each of the term processes at the process and evaluating the result from each of the term processes by the process to determine if an object has a number of the set of terms equal to or greater than the threshold; and
determining the identifiers for the one or more responsive objects of the corpus that satisfy the operator; and
returning the identifiers for the one or more responsive objects of the corpus in response to the first search query.

### Claim 33 (depends on 32)

The search system of claim 32, wherein the instructions are further for determining the final set of search terms comprises selecting a subset of the initial set of search terms as the final set of terms based on a set of rules.

### Claim 34 (depends on 33)

The search system of claim 33, wherein the initial set of search terms is selected based on a shorter length boundary or a longer length boundary.

### Claim 35 (depends on 32)

The search system of claim 32, wherein the subset of the initial set of search terms are selected based on a set of preselection rules.

### Claim 36 (depends on 35)

The search system of claim 35, wherein at least one of the preselection rules is based on an ordering of the initial set of search terms.

### Claim 37 (depends on 36)

The search system of claim 36, wherein the at least one of the preselection rules adjusts the ordering of the initial set of search terms based on numbers within the initial set of search terms.

### Claim 38 (depends on 36)

The search system of claim 36, wherein the at least one of the preselection rules adjusts the ordering of the initial set of search terms based on statistics or semantics of the initial set of search terms.

### Claim 39 (depends on 32)

The search system of claim 32, wherein the initial set of search terms comprises a complex expression.
