CREATE ANALYZER

    Table of contents

    1. CREATE ANALYZER analyzer_name (
    2. [ TOKENIZER
    3. {
    4. | custom_name WITH ( type = tokenizer_name, tokenizer_parameter [= value] [, ... ] )
    5. }
    6. [ TOKEN_FILTERS (
    7. {
    8. token_filter_name
    9. | custom_name WITH ( type = token_filter_name, token_filter_parameter [= value] [, ... ] )
    10. }
    11. [, ... ]
    12. [ CHAR_FILTERS (
    13. {
    14. char_filter_name
    15. | custom_name WITH ( type = char_filter_name, char_filter_parameter [= value] [, ... ] )
    16. }
    17. [, ... ]
    18. )

    CREATE ANALYZER speifies a whole analyzer chain for use in fulltext searches. It is possible to extend an existing analyzer or define a new analyzer chain from scratch. For examples and detailed explanation see .

    analyzer_name

    The globally unique name of the analzyer being created.

    The name of the analyzer to inherit defaults from.

    override_parameter

    The name of a parameter of the parent analyzer which should be assigned a new value to.

    tokenizer_name

    The name of a builtin tokenizer to be used.

    tokenizer_parameter

    A name of a parameter for a given tokenizer.

    The name of a builtin token filter to be used.

    token_filter_parameter

    A name of a parameter for a given token filter.

    char_filter_name

    The name of a builtin char filter to be used.

    char_filter_parameter

    A name of a parameter for a given char filter.

    A custom unqiue name needed when defining custom tokenizers/token_filter/char_filter.