Sha256: 34b020467db892babd0513f401f63280a7efdad35429eb3c7063a423de6800cf

Contents?: true

Size: 1.3 KB

Versions: 1

Compression:

Stored size: 1.3 KB

Contents

# Specify indexes path.
# Storage should be sufficient in order to store all indexed data.
IndexesSavePath=File.join(RAILS_ROOT, 'tmp/ferret_indexes/')


# Which language should be used?
# English (:en), German (:de), French (:fr) and Spanish (:es) are currently supported
# English is chosen by default.
# If you'd like to use another language, you can find templates in #{RAILS_ROOT}/lang/ui,
# then add your own language in this directory, and modify this line:
Globalite.language = :en


# Specify which locale should be used by Ferret
Ferret.locale = "en_US.UTF-8"


# Results per page
ResultsPerPage = 10


# Length of "probably unique id" 's
# Those id's are used to characterize every document, thus allowing tiny URLs in Controllers
#  HashLength = 10
#  Document.new("whatever.pdf").probably_unique_id => "bbuxhynait"
#  HashLength = 20
#  Document.new("whatever.pdf").probably_unique_id => "jfzjkyfkfkbbuxhynait"
# The more documents you have, the bigger HashLength should be in order to avoid collisions.
# It would not be wise (and specs won't pass) to specify HashLength smaller than 10.
HashLength = 10


# Specify the default Levenshtein distance when using FuzzyQuery
# see http://ferret.davebalmain.com/api/classes/Ferret/QueryParser.html for more information.
Ferret::Search::FuzzyQuery.default_min_similarity=0.6

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
picolena-0.1.1 lib/picolena/config/basic.rb