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

Analysis: Add pattern analyzer #276

Closed
kimchy opened this issue Jul 25, 2010 · 1 comment

Comments

@kimchy
Copy link
Member

commented Jul 25, 2010

Pattern analyzer uses regular expressions to separate text into tokens. It can act as a combination of the letter, lower_case, whitespace, and stop filter.

Sample configuration can be:

 index:
    analysis:
        analyzer:
            my_analyzer:
                type: pattern
                lowercase: true
                pattern: \W+
                flags: DOTALL|MULTILINE
                stopwords: ["something", "else"]
@kimchy

This comment has been minimized.

Copy link
Member Author

commented Jul 25, 2010

Analysis: Add pattern analyzer, closed by ac7c8cb.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.