Skip to content
This repository was archived by the owner on Apr 17, 2018. It is now read-only.

Request: Enable to set Ferret options - #2

Open
yagitoshiro wants to merge 1 commit into
datamapper:masterfrom
yagitoshiro:master
Open

yagitoshiro wants to merge 1 commit into
datamapper:masterfrom
yagitoshiro:master

Conversation

@yagitoshiro

Copy link
Copy Markdown

This patch enables dm-ferret-adapter to set init options of Ferret.
Currently local index only.

Usage:

DataMapper.setup(:search, {:adapter => :ferret, :path => './ferret/', :analyzer => ::Ferret::Analysis::WhiteSpaceAnalyzer.new, :auto_flush
=> true, :locale => locale})

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant