Skip to content

Commit

Permalink
Merge pull request #1967 from Danielle9897/RDoc-3154-updateFullTextSe…
Browse files Browse the repository at this point in the history
…archWithWildCards

RDoc-3154 Update the "Full-text search with wildcards" sections
  • Loading branch information
ppekrol authored Jan 14, 2025
2 parents f3ea2c5 + f5333fe commit 1fdd5ec
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* [Indexing multiple fields for FTS](../../indexes/querying/searching#indexing-multiple-fields-for-fts)
* [Boosting search results](../../indexes/querying/searching#boosting-search-results)
* [Searching with wildcards](../../indexes/querying/searching#searching-with-wildcards)
* [When using StandardAnalyzer or NGramAnalyzer](../../indexes/querying/searching#when-usingor)
* [When using RavenStandardAnalyzer or StandardAnalyzer or NGramAnalyzer](../../indexes/querying/searching#when-usingoror)
* [When using a custom analyzer](../../indexes/querying/searching#when-using-a-custom-analyzer)
* [When using the Exact analyzer](../../indexes/querying/searching#when-using-the-exact-analyzer)

Expand Down Expand Up @@ -100,7 +100,7 @@ where (search(EmployeeData, "Manager") or search(EmployeeData, "French Spanish",
[analyzer](../../indexes/using-analyzers) used in the index.

* Note the different behavior in the following cases, as described below:
* [When using StandardAnalyzer or NGramAnalyzer](../../indexes/querying/searching#when-usingor)
* [When using RavenStandardAnalyzer or StandardAnalyzer or NGramAnalyzer](../../indexes/querying/searching#when-usingoror)
* [When using a custom analyzer](../../indexes/querying/searching#when-using-a-custom-analyzer)
* [When using the Exact analyzer](../../indexes/querying/searching#when-using-the-exact-analyzer)

Expand All @@ -111,7 +111,7 @@ where (search(EmployeeData, "Manager") or search(EmployeeData, "French Spanish",

{NOTE: }

##### When using `RavenStandardAnalyzer` or `NGramAnalyzer`:
##### When using `RavenStandardAnalyzer` or`StandardAnalyzer` or `NGramAnalyzer`:
---

Usually, the same analyzer used to tokenize field content at **indexing time** is also used to process the terms provided in the **full-text search query**
Expand All @@ -121,6 +121,7 @@ before they are sent to the search engine to retrieve matching documents.

* When making a [dynamic search query](../../client-api/session/querying/text-search/full-text-search)
* or when querying a static index that uses the default [RavenStandardAnalyzer](../../indexes/using-analyzers#using-the-default-search-analyzer)
* or when querying a static index that uses the [StandardAnalyzer](../../indexes/using-analyzers#analyzers-that-remove-common-stop-words)
* or when querying a static index that uses the [NGramAnalyzer](../../indexes/using-analyzers#analyzers-that-tokenize-according-to-the-defined-number-of-characters)

the queried terms in the _Search_ method are processed with the [LowerCaseKeywordAnalyzer](../../indexes/using-analyzers#using-the-default-analyzer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* [Indexing multiple fields for FTS](../../indexes/querying/searching#indexing-multiple-fields-for-fts)
* [Boosting search results](../../indexes/querying/searching#boosting-search-results)
* [Searching with wildcards](../../indexes/querying/searching#searching-with-wildcards)
* [When using StandardAnalyzer or NGramAnalyzer](../../indexes/querying/searching#when-usingor)
* [When using RavenStandardAnalyzer or StandardAnalyzer or NGramAnalyzer](../../indexes/querying/searching#when-usingoror)
* [When using a custom analyzer](../../indexes/querying/searching#when-using-a-custom-analyzer)
* [When using the Exact analyzer](../../indexes/querying/searching#when-using-the-exact-analyzer)

Expand Down Expand Up @@ -97,7 +97,7 @@ where (search(employeeData, "Manager") or search(employeeData, "French Spanish",
[analyzer](../../indexes/using-analyzers) used in the index.

* Note the different behavior in the following cases, as described below:
* [When using StandardAnalyzer or NGramAnalyzer](../../indexes/querying/searching#when-usingor)
* [When using RavenStandardAnalyzer or StandardAnalyzer or NGramAnalyzer](../../indexes/querying/searching#when-usingoror)
* [When using a custom analyzer](../../indexes/querying/searching#when-using-a-custom-analyzer)
* [When using the Exact analyzer](../../indexes/querying/searching#when-using-the-exact-analyzer)

Expand All @@ -108,7 +108,7 @@ where (search(employeeData, "Manager") or search(employeeData, "French Spanish",

{NOTE: }

##### When using `RavenStandardAnalyzer` or `NGramAnalyzer`:
##### When using `RavenStandardAnalyzer` or`StandardAnalyzer` or `NGramAnalyzer`:
---

Usually, the same analyzer used to tokenize field content at **indexing time** is also used to process the terms provided in the **full-text search query**
Expand All @@ -118,6 +118,7 @@ before they are sent to the search engine to retrieve matching documents.

* When making a [dynamic search query](../../client-api/session/querying/text-search/full-text-search)
* or when querying a static index that uses the default [RavenStandardAnalyzer](../../indexes/using-analyzers#using-the-default-search-analyzer)
* or when querying a static index that uses the [StandardAnalyzer](../../indexes/using-analyzers#analyzers-that-remove-common-stop-words)
* or when querying a static index that uses the [NGramAnalyzer](../../indexes/using-analyzers#analyzers-that-tokenize-according-to-the-defined-number-of-characters)

the queried terms in the _search_ method are processed with the [LowerCaseKeywordAnalyzer](../../indexes/using-analyzers#using-the-default-analyzer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ The search terms sent to the search engine are solely based on the transformatio

Note the different behavior in the following cases:

* **When using `StandardAnalyzer` or `NGramAnalyzer`**:
* **When using `RavenStandardAnalyzer` or `StandardAnalyzer` or `NGramAnalyzer`**:
The queried terms in the _Search_ method are processed with the `LowerCaseKeywordAnalyzer` before being sent to the search engine.
* **When using a custom analyzer**:
The queried terms in the _Search_ method are processed according to the custom analyzer's logic.
Expand Down

0 comments on commit 1fdd5ec

Please sign in to comment.