Module | Ferret
In: | lib/ferret/document.rb lib/ferret/field_symbol.rb lib/ferret/index.rb lib/ferret/version.rb ext/r_analysis.c ext/r_index.c ext/r_qparser.c ext/r_search.c ext/r_store.c ext/r_utils.c ext/ferret.c

Document-module: Ferret

See the README

### Methods

locale locale=

### Classes and Modules

Module Ferret::Analysis
Module Ferret::BoostMixin
Module Ferret::Browser
Module Ferret::FieldSymbolMethods
Module Ferret::Index
Module Ferret::QueryParser
Module Ferret::Search
Module Ferret::Store
Module Ferret::Utils
Class Ferret::BlankSlate
Class Ferret::Document
Class Ferret::Field
Class Ferret::FieldSymbol
Class Ferret::FileNotFoundError
Class Ferret::ParseError
Class Ferret::QueryParser
Class Ferret::StateError

### Constants

FIELD_TYPES | = | %w(integer float string byte).map{|t| t.to_sym}
I | = | Index::Index
VERSION | = | '0.11.8.4'
OBJECT_SPACE | = | object_space
EXCEPTION_MAP | = | error_map
FIX_INT_MAX | = | INT2FIX(INT_MAX >> 1)

### Public Class methods

Ferret.locale → locale_str

Returns a string corresponding to the locale set. For example;

       puts Ferret.locale #=> "en_US.UTF-8"

Ferret.locale = "en_US.UTF-8"

Set the global locale. You should use this method to set different locales when indexing documents with different encodings.

[Validate]