search for: benjaminkrause

Displaying 20 results from an estimated 38 matches for "benjaminkrause".

2007 Sep 10
7
ferret index file(s)
I am running version 3.2 of ferret and would like to upgrade to a more current version. will my existing 3.2 index files be compatible? thanks, AK -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20070910/742890f2/attachment.html
2007 Nov 11
6
Reducing dependency on remote ferret process
Hi. We use FerretDrb for search. If the ferret process is down, our entire application comes down the moment we try to save a model which is indexed. Is there a way to decouple this relationship such that we can somehow resume normal operations despite ferret being down and not index the model? Thanks. Morten
2006 Aug 20
7
missing terms in index causing search errors
I am unable to find results for models when one or more of the terms are not being indexed. Lets suppose I index a User on the phrase "Ruby on Rails." If I then search using User.find_by_contents("Ruby on Rails") I get no results, since "or" is a common term and does not get indexed. Of course, User.find_by_contents("Ruby Rails") works just fine. I
2006 Aug 23
2
Reworking the Index Constructor
Hey .. I was thinking about the way I need to use the Ferret::Index::Index Class and its subclasses .. i find it somehow complex .. I think this can be done more easily .. Most of the Time a user needs to open up a index to do queries, the best way would be to use a IndexReader afaik. I would suggest to do it that way: index = Ferret::Index::Index.new( :path =>
2007 Feb 20
10
ferret webpage down
The ferret webpage at http://ferret.davebalmain.com/ has been down for a number of days. Any idea what''s going on? or how to notify the webmaster? -- Posted via http://www.ruby-forum.com/.
2007 Jul 30
4
indexing only the changed values
Hi all, i have model A which has a field indexed from model B. model A belongs to model B. So whenever i insert a row in model ''A'', a query is fired to the field from model ''B'' even though the data was not changed for the field in model B. Can i somehow avoid these extra queries,or rather query the data and index it,only if the data has been changed>? e.g
2007 Sep 13
5
refreshing indexes?
I am new to ferret and am just reading about it in the O''reilly shortcuts as well as other web resources. My app is a Rails app and so I am looking into acts_as_ferret as well. There are some questions for which I couldn''t find answers in the material I have read so far so I''d appreciate any help on these from the list. A bit of a background. My app will have 10,000 -
2006 Jul 04
3
Recalculating the score
Hey .. I''m using ferret to index various objects and i''m create a Ferret::Document for each of these objects. Indexing and searching is working fine. Each of these Ferret::Documents has a ''relevance'' field, storing an integer, how relevant this object is for the search. The ''relevance'' is in the range of 1..10 Now i would like to
2007 Apr 06
2
Advantages of using :single_index ?
Hi all, Google returns two results for this: http://www.google.ca/search?q=acts_as_ferret+shared_index+option&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:fr:official&client=firefox-a Both point to the ChangeLog, so I don''t really know if anybody used a shared index. From the RDoc, I know the option makes AAF "use a Ferret index that is shared by all classes..."
2006 Sep 22
1
Query Objects vs. Query Strings
Hi .. I tried to build some query objects to get some documents from my index.. without success.. Is something wrong here? q = Ferret::Search::BooleanQuery.new q1 = Ferret::Search::TermQuery.new(:type, "movie") q2 = Ferret::Search::TermQuery.new(:name, "Indiana") q.add_query(q1, :should) q.add_query(q2, :should) Indexer.index.search_each(q) do |doc, score| puts doc end 0
2006 Sep 22
2
Searching untokenized fields
Hi .. I tried to exclude certain objects from my search, by adding appropriate term queries .. i = Ferret::Index::Index.new i.field_infos.add_field(:type, :index => :untokenized, :term_vector => :no) i << {:type => "Movie", :name => "Indiana" } i << {:type => "Movie", :name => "Forrest" } i << {:type =>
2007 Dec 19
1
Payload support in ferret
Hello All: This is potentially a ferret and ruby newbie question. I RTFM-ed (the oreilly shortcut anyway) and didnt find anything obvious. Are there plans for Ferret to support the notion of "payloads" introduced in Lucene 2.2. Payloads are basically arbitrary metadata that can be stored for each term. For example, for each term I can store, say, font information for the term. (
2007 Dec 20
1
indexing tuples (example: "frog" => 123) as opposed to words
Hi, I need to map words in a document back to there original word id''s in my database. For example, if I had the sentence "I eat food" and I was searching for "food" I would obviously get the document back as a result. For my particular problem I need to not only get the document id but also the id of the match. Suppose my original sentence was actually
2007 Mar 12
2
Too many open files error
Hi Dave, i just stumbled across a new error i haven''t seen before :) caught error inside loop: IO Error occured at <except.c>:93 in xraise Error occured in fs_store.c:264 - fs_new_output couldn''t create OutStream /var/www/localhost/rails/current/ script/backgroundrb/../../config/../db/ferret.index.production/ _jei_0.f0: <Too many open files> my ulimit is
2007 Sep 17
3
Ferret FileNotFound error
Hi, I have a model that I''ve been indexing and searching with ferret some problem. We get the following error when accessing the model File Not Found Error occured at <except.c>:117 in xpop_context Error occured in fs_store.c:329 - fs_open_input tried to open "/var/www/html/cuproject/index/development/album/_b.cfs" but it doesn''t exist: <No such file or
2006 Aug 04
4
Ruby/Gtk Luke port
Hi all, some days ago I wrote that I once had started porting Luke to Ferret with Ruby/Gtk. I just dug out those sources and put them under version control. It''s far from finished and my first Gtk program, but might be a good start anyway. the code is available at svn://projects.jkraemer.net/inspector/trunk/ If anybody wants to contribute, I''ll be glad to grant commit rights.
2007 Dec 25
1
Does sort work for strings work?
Hi, I am trying to get sorting working. I have had success with numbers but when I try to sort my string fields nothing happens. I am using the following code: options = {} s = Search::SortField.new(''object_title'', :reverse => false) options[:sort] = s @index.search_each("my query",options) do |id, score| puts "-->Document #{id} found with a
2006 Jul 15
2
FieldQuery not returning anything
Hey .. The QueryParser RDoc page explains to me on how to search for a specific value in a specific field. This is not working the way i thought it should be, what am i doing wrong? Here''s an example .. I''m storing model data in the index like this: doc << Field.new( "object_id", object.id, Field::Store::YES) doc << Field.new( "type",
2007 Jun 06
4
globalize+acts_as_ferret
Hey all, I''m using acts_as_ferret and globalize. I stumbled upon that post on google: http://osdir.com/ml/lang.ruby.ferret.general/2007-01/msg00068.html does anybody know if it''s included in the latest a_a_f or if it''s planed to be? I can''t seem to find anything about it. thanx in advance Pat
2007 May 18
3
issues with : in the content
Hi, I''ve discovered ferret and aaf this evening, I''ve just done some tests and it seems perfect for my needs. I''m indexing text data (title, description, etc) and also ethernet hardware addresses (MAC). Sorry if that sounds trivial but I can''t find the way to correctly index and achieve correct searches on MAC addresses. If I do something like this: index =