Displaying 1 result from an estimated 1 matches for "body_en".
Did you mean:
  body_len
  
2005 Nov 26
3
Several questions about Ferret.
...before_destroy
    index = FerretConfig::INDEX
    index.remove(self.id.to_s)
    index.optimize
  end
  def to_document
    doc = Document.new
    doc << Field.new(''id'',    self.id.to_s,    Field::Store::YES,
Field::Index::UNTOKENIZED)
    doc << Field.new(''body_en'', self.body_en, Field::Store::YES,
Field::Index::TOKENIZED, Field::TermVector::NO, false, 1.0)
    doc << Field.new(''title_en'',  self.title_en,  Field::Store::YES,
Field::Index::TOKENIZED, Field::TermVector::NO, false, 3.0)
--
anatol (http://pomozov.info)
--------...