Skip to content

Latest commit

 

History

History
executable file
·
21 lines (17 loc) · 695 Bytes

10_Standard_analyzer.md

File metadata and controls

executable file
·
21 lines (17 loc) · 695 Bytes

[[standard-analyzer]] === standard Analyzer

The standard analyzer is used by default for any full-text analyzed string field. ((("standard analyzer"))) If we were to reimplement the standard analyzer as a <<custom-analyzers,custom analyzer>>, it would be defined as follows:

[role="pagebreak-before"] [source,js]

{ "type": "custom", "tokenizer": "standard", "filter": [ "lowercase", "stop" ] }

In <> and <>, we talk about the lowercase, and stop token filters, but for the moment, let's focus on the standard tokenizer.