Allow custom stemmer implementation #44

Merged
merged 2 commits into from Nov 23, 2012

Projects

None yet

2 participants

@compiled

Hi,

I needed Dutch stemming, so I added a configuration option for defining a custom stemmer proc.

I left the defaults intact (stemming with fast-stemmer) so it shouldn't provide any inconvenience for current users.

Kind regards,

Fred Oranje

@mauriciozaffari
Collaborator

Looks good. Could you add some documentation on how to add a custom stemmer also? That would be great.

@compiled

I've added some documentation to the readme.

@mauriciozaffari mauriciozaffari merged commit 7292603 into mongoid:master Nov 23, 2012
@mauriciozaffari
Collaborator

Fantastic. Thanks!

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