You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/40_Analysis/5_custom.mdx
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,20 +15,19 @@ Composed from analyzer building blocks:
15
15
## Custom analyzers
16
16
17
17
### last 4 digits
18
-
Last 4 digit of phone number matching (regex extraction during indexing, keyword analysis at query time): https://search-playground.corp.mongodb.com/tools/code-playground/snapshots/669e6c98d49ef6fad98118ba
18
+
<Playgroundurl="https://search-playground.corp.mongodb.com/tools/code-playground/snapshots/669e6c98d49ef6fad98118ba">🔗 Last 4 digit of phone number matching</Playground> (regex extraction during indexing, keyword analysis at query time)
19
19
20
20
### reverse token filter
21
-
Example of being able to do ‘startsWith’ and ‘endsWith’ using wildcard and ‘reverse’ token filter:
<Playgroundurl="https://search-playground.mongodb.com/tools/code-playground/snapshots/6683c8bc4a45448733549bbc">🔗 Example of being able to do ‘startsWith’ and ‘endsWith’ using wildcard and ‘reverse’ token filter</Playground>
23
22
24
23
### starts-with
25
-
Example of being able to do ‘startsWith’, ‘endsWith’ and ‘contains’ using nGrams: https://search-playground.mongodb.com/tools/code-playground/snapshots/6683c999934a05d9b585b6e7
24
+
<Playgroundurl="https://search-playground.mongodb.com/tools/code-playground/snapshots/6683c999934a05d9b585b6e7">🔗 Example of being able to do ‘startsWith’, ‘endsWith’ and ‘contains’ using nGrams</Playground>
<Playgroundurl="https://search-playground.corp.mongodb.com/tools/code-sandbox/snapshots/6796a293aa132ffc76719f61">🔗 Stripping HTML tags for indexing</Playground>
32
31
33
32
From there:
34
33
*`lucene.english` - "span" and "alert" are indexed/searchable
0 commit comments