Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Request: Enable to set Ferret options #2

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant

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 join this conversation on GitHub. Already have an account? Sign in to comment