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 trim token filter that trims whitespaces #1693

Closed
kimchy opened this issue Feb 12, 2012 · 5 comments
Closed

Analysis: Add trim token filter that trims whitespaces #1693

kimchy opened this issue Feb 12, 2012 · 5 comments

Comments

@kimchy
Copy link
Member

kimchy commented Feb 12, 2012

The trim token filter allows to trim whitespaces. update_offsets (defaults to false) will cause offsets to also be updated.

@kimchy kimchy closed this as completed in a96c2ab Feb 12, 2012
@shavo007
Copy link

How do you apply this filter? I cant find any samples online!

@nik9000
Copy link
Member

nik9000 commented Jun 20, 2016

First: this kind of question is better to ask on https://discuss.elastic.co/.

Second, you apply it by making a custom analyzer and specifying the trim filter in the list of filters.

@shavo007
Copy link

Possibly..

But I always find it strange on any github issue (no matter what project), there is an enhancement or fix closed without conveying to the end user how it works!

@jasontedor
Copy link
Member

@shavo007 When you create a new issue, the issue template says:

GitHub is reserved for bug reports and feature requests. The best place to ask a general question is at the Elastic Discourse forums at https://discuss.elastic.co.

Every repository manages these things individually, this is how we manage ours (for example, Apache projects usually use an Apache-hosted Jira and user mailing lists, Apple Swift uses Jira and mailing lists too, and has issues locked on their repository). The community at our Discourse forum is very helpful, and you'll even see a lot of the same people there that you see here.

@shavo007
Copy link

I understand that.

But based on my search term i came here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants