Displaying 20 results from an estimated 9000 matches similar to: "invalid characters with win32"
2007 Feb 26
4
Ferret 0.11.0 tests segfault
I have an important segfault when I create the index (via
Ferret::Index::FieldInfos#create_index).
I decided to run the tests, this is what I have :
$> ruby test_all.rb
Loading once
Loaded suite test_all
Started
....................EEEEEEEE./unit/../unit/index/../../unit/store/../../unit/analysis/../../unit/utils/../../unit/query_parser/../../unit/search/tc_filter.rb:11:
[BUG] Segmentation
2006 Sep 08
8
Ferret-0.10.3 released
Hey all,
I''ve just released Ferret 0.10.3. It is mostly just a bugfix release.
I''ve also added Ferret::Analysis::HyphenFilter which filters
hyphenated words for better search results. Basically the way it works
is it concatenates a hyphenated word as well as adding the two
separate terms. So "set-up" becomes "setup", "set", "up" so
2007 Mar 08
2
Test fail on debian 3.1
I have a problem, I use utf all over a rails site, but the search failes
to search characters with acccents...
I try to debug it, and i had run unit tests for ferret, can those
failures cose problems?
<pre>
/usr/lib/ruby/gems/1.8/gems/ferret-0.11.3/test/ ruby test_all.rb
Loading once
Loaded suite test_all
Started
2007 Apr 10
8
ferret-0.11.4-mswin32 not compatible with Ruby1.8.4
Just a quick note for future reference - at least for me, ferret won''t
work on Ruby 1.8.4.
gem install ferret
Successfully installed ferret-0.11.4-mswin32
ruby -v
ruby 1.8.4 (2005-12-24) [i386-mswin32]
irb
irb(main):001:0> require ''ferret''
A windows error message box appears -
ruby.exe - Entry Point Not Found
The procedure entry point rb_w32_write could not be
2006 Sep 04
7
0.10.2 release with win32 gem
Hey all,
I''ve just released Ferret version 0.10.2. It is mostly just a bug fix
release. The only change is that a highlight method has been added to
Ferret::Index::Index. Please try it out and let me know what you
think.
The big news for this release is that there is also a binary win32 gem
included. This is the first time I''ve build a gem like this so please
let me know if
2006 Aug 15
2
Windows build with Visual Studio 2005 - some success
Hi all,
first up, big thanks to Dave for doing the hard work of porting
Lucene. I have come to love Lucene through my Java work and was
extremely pleased to find the Ferret project for Ruby.
Now, I am tinkering with building the C extension using Visual Studio 2005.
So far, I have had some success in getting something built and working
in my Rails app (diffs attached). I am also encountering a
2006 Sep 22
15
Win XP / Ferret & Acts_as_ferret .dump problem
Hey,
Has anyone managed to bypass or fix the ferret''s .dump method problem?
When I include acts_as_ferret my whole rails app just blows up because
of Ferret''s .dump method. Ex:
---
print "\t hello".dump >> "\t hello">Exit code: 0
---
---
require ''ferret''
print "\t hello".dump >> " hello"(NUL
2007 Mar 20
2
Strange Results For Term Frequencies
I would like to thank all the people who have contributed to this very
fine project. Great work!
I''ve encountered some strange results while examining the term frequency
of one of my indexed documents. The indexed terms seem to vary for the
very same document depending on the presence or absence of completely
unrelated operations in the code, so the resulting term frequency
changes, too.
2007 Jan 01
2
Possible Bug when Creating Indexes
I''m running:
ferret (0.10.9)
ruby 1.8.5 (2006-08-25) [i386-mswin32]
on Windows XP(SP2)
When I create an index as follows:
field_infos = FieldInfos.new(:store => :yes, :term_vector => :no, :index
=> :yes)
field_infos.add_field(:id, :index => :untokenized)
field_infos.add_field(:subject)
field_infos.add_field(:author)
field_infos.add_field(:tags, :store => :no)
index =
2006 Aug 22
4
Native Extensions on Windows 0.10 series
Hi all,
I''ve just noticed that 0.10 is out and wanted to give it a try on windows.
I''m not at all an VS C++ Developer so I might do something very stupid here.
My env: Windows Server 2003
VS .NET 2003
On the command line with nmake from VC7 in the path this is what I get:
Attempting remote update of ferret
Building native extensions. This could take a while...
Microsoft
2006 Oct 18
2
install ferret on windows
Hi!
I''m trying to install ferret on windows, so I chose
ferret-0.10.9-mswin32.gem from the download page, as it includes a
already pre-compiled ferret_ext.so (is that correct?) and I don''t have
any C compiler here. The gem installed it correctly, but the test didn''t
work. So I called these commands:
rake ext
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb
2006 Sep 09
2
search_each segmentation fault and parser anomoly
The included test script turned up the following anomolies (run
against Ferret 0.10.3, but had same problems with 0.10.2):
1. When the content word is not in the index the inclusion of a
wildcard file term causes search_each to throw a segmentation
fault.
$ ./test.rb zzz file:*.txt
query: +content:zzz +file:*.txt
./test.rb:28: [BUG] Segmentation fault
ruby 1.8.4 (2005-12-24)
2007 Apr 08
10
Ferret and non latin characters support
I''ve successfully installed ferret and acts_as_ferret and have no
problem with utf-8 for accented characters. It returns correct results
fot e.g. fran?ais. My problem is with non latin characters (Persian
indeed). I have tested different locales with no success both on Debian
and Mac. Any idea?
(ferret 0.11.4, acts_as_ferret 0.4.0, rails 1.1.6)
--
Posted via http://www.ruby-forum.com/.
2006 Dec 07
8
crash on repeated search
I have found another crash in ferret; this one just uses a regular
search. It''s similar to an issue reported by Matt Schnitz a while ago,
but unlike his, mine does not go away if I turn off omit_norms. It does
go away if I turn on the garbage collector more often, but I''m not sure
that''s a stable workaround under the circumstances.
This one isn''t a
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 Jun 04
1
Ferret install on WinXP fails - procedure entry point rb_w32
Hello. I''m trying to use the ''acts_as_ferret'' gem with Rails.
Rails: 1.1.4 and 1.2.3
OS: WinXP
I''ve installed both Ferret and the plugin using Ruby Gems:
C:\>gem install ferret
Successfully installed ferret-0.11.4-mswin32
Installing ri documentation for ferret-0.11.4-mswin32...
Installing RDoc documentation for ferret-0.11.4-mswin32...
C:\>gem install
2007 Apr 09
2
Ferret Demo Problem
Dear,
I have download the demo of ferret from the following svn
svn://projects.jkraemer.net/acts_as_ferret/trunk/demo
and then i run the demo http://localhost:3005/content
but i got such exception:
undefined method `acts_as_ferret'' for ContentBase:Class
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Sep 12
1
Ferret on Windows?
I am trying to use SVN HEAD of Acts_as_ferret, and I have ferret
0.10.4installed from the windows Gem.
Unfortuanantly, whenever I i let act_as_ferrets init.rb file require ferret,
my app blows up, with weird "Invalid char" errors. I have pasted the page
below. If I comment out the require ferret, the page loads. Of course,
act_as_ferret does blow up.
My unit tests do work fine
2007 Apr 17
1
undefined method `each'' for nil:NilClass with Ferret search
Hi All:
For certain key terms I always get this error; I had to rebuild the
indexes then it works for a while then again it is gone.
here is the message
ActionView::TemplateError (undefined method `each'' for nil:NilClass) on
line #4
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/base.rb:316:in
`compile_and_render_template''
2008 Jan 11
3
Date range queries return zero results
Hello,
I am having trouble getting data ranges to work correctly. I am using
the following command to load the db:
index << {:title => row[7].to_i,
:date => Date.strptime(row[3], ''%Y-%m-%d''),
:page_id => row[5].to_i,
:page => row[6].to_i,
:content_type => row[1].to_i,