Displaying 20 results from an estimated 29 matches for "korth".
Did you mean:
worth
2006 Oct 12
3
How to get a decent stack trace?
Hi,
I just gave Mongrel a try on my Rails app. After running
''mongrel_rails start'' everything seems fine. Yet, when I start a
request I get the following error message on the console:
ERROR: You have a nil object when you didn''t expect it!
The error occured while evaluating nil.readpartial
That''s it. The application works fine with Webrick and
2007 Apr 01
10
indexing mostly-binary documents (.ppt)
Here''s an interesting problem: In my app, we are indexing various
types of documents, including microsoft powerpoint. Powerpoint
documents are mostly binary, but have a bunch of text (all of the
text in the document?) as well.
My thinking is that the binary will never get searched for, and the
proper text will be indexed and queried as expected, so the indexed
binary will never
2007 Jul 11
4
Query scoring - WTF?
Hi!
I thought I understood Ferret''s query scoring and how to tweak
results using boost values. What I currently experience however,
leaves me completely baffled.
Perhaps someone can shed some light on the scoring algorithm, because
asking Ferret to "explain" the score for a particular document isn''t
as informative as I thought. Actually, it confuses me even
2006 Oct 23
2
Trouble with custom Analyzer
Hi!
I wanted to build my own custom Analyzer like so:
class Analyzer < Ferret::Analysis::Analyzer
include Ferret::Analysis
def initialize(stop_words = ENGLISH_STOP_WORDS)
@stop_words = stop_words
end
def token_stream(field, string)
StopFilter.new(LetterTokenizer.new(string, true), @stop_words)
end
end
As one can easily spot, I essentially want
2007 Mar 31
4
not understanding search results
I''m getting some results that I don''t understand from a search.
The code, based on the tutorial, and the results are below.
Everything makes sense to me, except the results for
the ''title:"Some"'' query. I would think that it should
match the first two documents, but not the third.
What am I missing here?
Thanks for any help!
--- code
2006 Oct 24
2
Problem with stop words
I am seeing trouble with searches for ''you'' not returning anything. It
appears that ''you'' is a stop word to the standard analyzer:
require ''rubygems''
require ''ferret''
index = Ferret::I.new(:or_default => false)
index << ''you''
puts index.search(''you'')
returns
2007 Nov 26
8
search not working after upgrade
Izit Izit wrote:
> Correction on my previous post.
>
> The correct way to do it is:
>
> Product.find_by_contents("*",{},:conditions =>search_conditions,:include
> => [:supplier],:order =>"products.id" )
>
> Leave out the :limit=>:all that is put in by default.
Exactly - I tried to make aaf a bit more clever by letting it assume
:limit
2006 Nov 02
3
Indexing and searching across multiple locales
Hi -
I''m currently investigating support for Ferret and content that spans
multiple locales. I am particularly interested in using stemming and fuzzy
searches (e.g. with slop factor) across multiple locales.
So far I''ve followed the online docs for implementing a Stemming Analyzer,
and it is working for English terms just fine. I''ve also written a method to
import data
2007 Aug 03
2
can''t search for OR (as in the state)
I''m trying to search a Model by the state field using Acts As Ferret.
The query for this is ''+state:NY'' (substitute state abbreviation for
NY). This works find however ''+state:OR'' returns nothing, though just
''portland'' will pull up matches within that state.
I''m pretty sure it''s reading OR as an or conditional
2007 Jan 17
4
svn: command not found
Upon trying to install I keep getting the following error message in my
terminal...
svn: command not found
Any help would be greatly appreciated
--
Posted via http://www.ruby-forum.com/.
2006 Oct 24
1
Locking issues when adding to the Index
Hi,
I keep getting locking errors when updating my index which puzzles me
since only one process is supposed to be accessing the index at a
time (at least in development mode).
I''m using Ferret with Rails (NOT acts_as_ferret, though) and employed
an observer to add a new document to the index when a new
ActiveRecord is created. I''m not sure if this has any impact on the
2006 Mar 14
1
Delay with printer properties
Greetings Samba Fans!
I'm experiencing a strange problem which started after installation of
Service Pack 2 for Windows XP:
When a user tries to print there is a long delay (sometimes around 2
minutes) before the printer properties page is opened. This only affects
Windows XP with Service Pack 2 installed.
I did a 'tcpdump' on the printserver and observed something quite strange:
2006 Nov 24
2
advanced search with ferret?
Hello,
I''m a novice to ferret, so far only used it via acts_as_ferret. My
question is about a recommended pattern for an ''advanced search'', which
would be searching by all fields of a model and some fields from related
models, with range search, expression search and wildcards. The kind of
search in which a user is presented with a huge form that allows them to
set
2006 Dec 21
12
Ferret and Godaddy.com
Ok, first up, I''m a Rails newbie. My site is hosted on godaddy.com
Godaddy has the Ferret GEM installed by default. They do not have
acts_as_ferret installed so I can''t use that.
I''m trying to follow the tutorial on the Ferret wiki
http://ferret.davebalmain.com/trac/wiki
It includes all of the code I need, but it doesn''t tell
2006 Oct 31
2
corrupted index preventing save
Hi, I''m using Rails/AAF with Ferret 0.10.11, and my index occasionally
(every few weeks, roughly) becomes corrupted.
If the index is busted, until I rebuild it our users are unable to save
anything. I get errors like the one below, and the save rolls back.
My question is, is there any way to catch the error, and continue with
the save even if the model isn''t indexed? What
2006 Nov 17
4
undefined method `exists?''
Anyone ever run into this error message when creating a new FieldInfos?
Ferret::Index::FieldInfos.new(:store=>:no)
NoMethodError: undefined method `exists?'' for {:store=>:no}:Hash
--
Posted via http://www.ruby-forum.com/.
2007 Mar 31
8
Problem with encoding (Umlaut: ü, ä...)
Hi there from Germany,
I just installed and set up ferret and act_as_ferret for rails. All of
them at the most recent version. The development environment is running
fine with Mac OS X. But I got problems with the productive environment
(debian).
In the (mysql-)database are few records stored, containig german umlauts
(? for example). Running a query for "k?ln" returns the correct
2007 Aug 23
4
scoring problem in acts_as_ferret
Hi,
I am using acts_as_ferret and have a problem with scoring. I would like
to organize it in such way that, if any of the searched terms fits, I
get 1.0 score as a result. I will explain it on the example.
I have in index:
a) "one two three four"
b) "one two three"
c) "one two"
d) "one"
When I search for "one" I would like to get 1.0 score for
2006 Aug 25
7
disabling automatic indexing in acts_as_ferret
I''d like to be able to enable/disable the automatic indexing of
documents acts_as_ferret does. Something like MyModel.disable_indexing
MyModel.enable_indexing would be perfect. I need this because I do some
indexing that requires visiting the parents of the model objects and my
import method imports the children first, so the information isn''t there
yet. I''d like to
2007 Sep 03
11
MySQL has gone away
Hi,
in a production environment we are running into "MySQL server has gone
away" errors (see below) when we call rebuild_index in aaf. This happens
sporadically.
Any suggestions for what might be wrong or workarounds? I guess we try a
reconnect before we call rebuild_index?
Matthew
ActiveRecord::StatementInvalid (Mysql::Error: MySQL server has gone
away: SELECT count(*) AS