Hi okay we have spent the last few hours trawling through the ferret api
and have come accross lots of promising leads, and many questions.
index_reader.doc_freq(field, term) → integer
Return the number of documents in which the term term appears in the
field field.
would seem to partly fit the requirmemts. However when i have tried to
instantiate a new index_reader like this
reader =
Ferret::Index::IndexReader.new("/home/c/V_O_2/index/development/vo_object/")
and then try to access some of the documents returned by search_each i
am only able to access the :id field.
Q1: how do you create an index_reader that is able to access your aaf
index?
Q2: how do you actually return the contents of a field?
Q3: How can i combine doc_freq (which seems perfect) with a search to
count the frequency of terms?
any answers would be brilliant.
best regards
caspar
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk