Displaying 20 results from an estimated 6000 matches similar to: "Invalid character and win32"
2006 Nov 28
8
how to update index from a script
Hello all,
I''m using AAF right now to index my ~3million db records. However, any
additions to these records are added to the database through an external
script so the aaf activerecord hooks will not catch any updates. Since
new records are only added rarely, I figured I could just add the new
records manually in ferret from some type of script. I''ve been looking
at the
2006 Nov 07
1
Memory consumption too high
Hi,
I''m having trouble with ferret and AAF blowing up with a NoMemoryError.
Sometimes when I add documents inside my rails app. Ferret starts
consuming huge amounts of memory. I''m on a machine with 2GB of memory
and it still runs out of memory. Sometimes I''m able to run
MyObject.rebuild_index and the memory doesn''t move up at all. However,
sometimes it
2007 Feb 07
1
Which version to install?
Hi All, I am kinda of new to this. Could you please let me know which
version of Ferret and AAF to install (I am developing on Windows). I
tried installing Ferret.0.10.14-beta, but it does not seems to work.
The last one that works for WIN seems to be 0.10.9, is that right?
Thanks in Advance!
Mike
--
Posted via http://www.ruby-forum.com/.
2006 Oct 03
4
newbie question
Hi,
I''m new to using ferret (and fairly new to ruby/rails) and I''m having a
problem I can''t fathom. Sorry for the long post ...
I have a test which passes
require ''rubygems''
require ''ferret''
include Ferret
require ''test/unit''
class CompanyTest < Test::Unit::TestCase
def test_index
puts ''running
2006 Oct 03
4
newbie question
Hi,
I''m new to using ferret (and fairly new to ruby/rails) and I''m having a
problem I can''t fathom. Sorry for the long post ...
I have a test which passes
require ''rubygems''
require ''ferret''
include Ferret
require ''test/unit''
class CompanyTest < Test::Unit::TestCase
def test_index
puts ''running
2006 Oct 25
3
i cant install acts_as_ferret
This is what happens when i try to get acts_as_ferret ...."nothing
much"....
Please help me and excuse me if its really dumb, i''m new to this! thanks
C:\rails\app>gem install ferret
Attempting local installation of ''ferret''
Local gem file not found: ferret*.gem
Attempting remote installation of ''ferret''
Updating Gem source index for:
2007 Feb 25
1
ferret w/ acts as ferret on windows
hi all!
after hours of trying to find contents with german umlauts i stumbled
upon a post where someone said ferret won''t work with utf-8 on
windows???
is that really true?
do i really have to iconv everything to iso-8859-15 before indexing and
do the same with the query to get it working?
i''m running ruby 1.8.5, ferret 0.10.9-mswin32, and rails 1.2.2 and just
reinstalled aaf
2007 Apr 15
2
"tried to use a closed index"
Sorry in advance for the newbie question. Can''t get aaf going and can''t
find similarly stuck folks on this forum.
I''m running Rails on my local machine in development mode. I installed
ferret 0.11.0 gem, and the most recent stable aaf plugin (as of today).
I''m having trouble getting the most basic functionality working. In my
model Recipe, I have:
2006 Oct 16
2
Ferret::QueryParser::QueryParseException
During our last week of Ferret / aaf usage (also our first week of
Ferret / aaf usage), I have received 8 messages stating that our app
encountered a Ferret::QueryParser::QueryParseException. For instance:
A Ferret::QueryParser::QueryParseException occurred in foo#search:
Error occurred in src/q_parser.y:279 - yyerror
couldn''t parse query "com -- 404". Error message
2006 Oct 12
3
Ferret::StateError while using acts_as_ferret
I''m fairly new to ferret / aaf and finding it much easier to use than
HyperEstraier (which I migrated from). However, I am getting a few
errors and I need to figure out if they''re problems with my usage of
ferret or a bug I should report. I''m currently running Ferret 0.10.11
with acts_as_ferret (latest via svn external) and 3 times today I''ve
seen the
2007 Apr 12
2
Ferret 0.11.4.win32 indexing speed vs Ferret 0.10.9.win32
Firstly, thanks Dave for all your hard work. Ferret Rocks!,
I am just testing 0.11.4.win32 and it seems to work just fine, however
the index creation phase of my app is perhaps 3x slower under 0.11.4 vs
0.10.9
Details follow:
System: windows xp sp2, index on local hard disk, Ruby 1.8.6
Run #1, Ferret 0.10.9
- Reboot
- Build index, 35,000 rows added in 297 seconds
-
Run #2, Ferret 0.11.4
-
2006 Dec 06
1
AAF - Stem Analyzer
I''m not on AAF. Can someone else help Raymond with an example?
On 12/6/06, Raymond O''connor <nappin713 at yahoo.com> wrote:
>
> Matt Schnitz wrote:
> > You also need to stem-analyze the incoming query.
> >
> > I had this same problem. :^>
> >
> >
> > Schnitz
>
> Do you have an example of how to do this? I''m using
2007 May 24
2
Strange Problem with AAF DRB connection
Hi all!
We use the DRB-Server Backend and are getting strange DRb::DRbConnErrors
lately. It started with:
too large packet 687865856
(druby:/10.0.0.10:9010) /usr/lib/ruby/1.8/drb/drb.rb:573:in `load''
and later only this one:
premature marshal format(can''t read)
(druby:/10.0.0.10:9010) /usr/lib/ruby/1.8/drb/drb.rb:580:in `load''
Do you have any ideas what that
2007 May 01
2
AAF and DRb server
I''ve installed the ferret gem. I installed AAF as a plugin into my
vendor/plugins directory of my project. In development environment my
searches work just fine, without any problems.
For production I configured the ferret_server.yml file with correct
information about the machine my DRb server is running on. I start the
ferret server with the following command:
ruby script/runner
2007 Jun 28
1
ThreadError from DRb server
Hi there,
I''ve just started using aaf for searching and it''s running well apart
from one error I received:
A ThreadError occurred in person#search:
current thread not owner
(druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:274:in
`mon_check_owner''
(druby:/localhost:9010) /usr/lib/ruby/1.8/monitor.rb:274:in
`mon_check_owner''
2006 Nov 30
1
usage and benefits of single-index with AAF
The documentation states:
"single_index: set this to true to let this class use a Ferret index
that is shared by all classes having :single_index set to
true. :store_class_name is set to true implicitly, as well as
index_dir, so don?t bother setting these when using this option. the
shared index will be located in index/<RAILS_ENV>/shared ."
[1] If I''m reading
2006 Nov 01
8
aaf and stop words; query parser
I''ve been trying to implement acts_as_ferret in my latest project and ran into a snag. If I do a search for ''auditor state'' then the search works perfectly. If I include a stop word, as in ''auditor of state'', then I get no results. I''d prefer not to set stop words to nil and index everything.
The solution, that I have yet to attempt, is to use
2007 Jun 07
5
Advise on slowness in bootstrapping?
I am looking at trying to use ferret/aaf to supplement my querying against a
medium and large table with lots of columns. Some facts first:
Ferret 0.11.4
AAF 0.4.0
Ruby 1.8.6
Rails 1.2.3
Medium table:
105,464 rows
168 columns (mostly varchar(20))
11 actual columns indexed in aaf plus
40 virtual columns indexed in aaf (virtual is concat of two physical columns.
e.g. cast_first_name_1 +
2006 Dec 15
1
acts_as_ferret: reindexing it too slow
Hi,
Recently, I was trying to play around with AAF and found that reindexing
table is very slow. Then I started looking into Ferret performance and
tried myself and found that it''s very fast. Then, I just used Ferret to
index my table and it was also very fast. All good.
Then why reindexing using AAF is slow. After sometime I found that in
the AAF, it uses (:key => :id) in
2007 Nov 19
1
My AAF tweaks
I have had to fix a few issues with AAF in order to get it working
well for myself in a production environment. I''m using the latest
"release" version which is 0.4.1:
1) When there is no index in place, every request starts a new
rebuild. While there is some code in place to allow this to happen
during testing, personally I see no reason to even test for this,