Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDoc-3154 Update the "Full-text search with wildcards" sections #1967

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading