search for: score_doc

Displaying 3 results from an estimated 3 matches for "score_doc".

Did you mean: score_docs
2006 Mar 08
1
indexing a document object fails
...to be caused because elsif doc.is_a?(Document) is expecting a Ferret::Document rather than Ferret::Document::Document. When I change this line to elsif doc.is_a?(Document::Document) I get past the indexing part, and am able to retrieve the document...i.e. index.search_each("*") do |score_doc, score| p index.doc(score_doc) end which results in #<Ferret::Document::Document:0x34d0570 @fields={"title"=>[#<Ferret::Document::Field:0x34cfe80 @tokenized=false, @stored=true, @name="title", @data="b", @store_offset=false, @store_term_vector=false, @binar...
2006 Jan 02
11
aligning Ferret''s IndexSearcher.search API with Lucene''s
Recently I''ve been revisiting some of my search code. With a greater understanding of how Java Lucene implements its search methods, I realized that one level of abstraction is not present in the Ferret classes/methods. Here are the relevant method signatures: Ferret''s search methods: in Ferret::Index::Index: search(query, options = {}) -> returns a TopDocs
2006 May 11
6
problem with solaris install
I was trying to install ferret 0.9.2 on solaris (SunOS 5.8) which does not have a sys/dir.h nix_io.c:5:21: sys/dir.h: No such file or directory make: *** [nix_io.o] Error 1 I couldn''t find an obvious way around this... any suggestions? Thanks, Rich Marisa Cornell Information Technologies Cornell University