Displaying 20 results from an estimated 262 matches for "balmain".
2006 Oct 16
0
Ruby Hacker Interview: Dave Balmain
Guess Dave wasn''t going to blow his own trumpet so someone else has to
do it for him. An interesting interview with Dave that filled in the
gaps on the About Me page I had asked about...
http://on-ruby.blogspot.com/2006/10/ruby-hacker-interview-dave-balmain.html
--
Posted via http://www.ruby-forum.com/.
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
2007 Apr 06
16
[VOTE] Should stop-words be filtered by default?
...not be backwards compatible and would require users to either rebuild
their indexes or change their code to keep the same stop-words
settings. However, it would save a lot of confusion for people
starting out with Ferret.
So what do people think? Should stop-words be filtered by default?
--
Dave Balmain
http://www.davebalmain.com/
2007 Feb 28
4
Ferret 0.11.2-rc3 released
Hey guys,
I''ve just removed the -fno-stack-protector flag from the release so
those who had trouble because of this should now be able to install
0.11.2-rc3. If you have any problems with this release, please let me
ASAP.
Cheers,
Dave
--
Dave Balmain
http://www.davebalmain.com/
2007 Feb 27
15
Ferret 0.11.1-rc2
...otchas I should be aware of on
Ubuntu.
Please try the new version and let me know if you are still having
problems with it. I have until the end of the week to work on Ferret
as much as I need to so I''d like to deal with as many issues as
possible within that time.
Cheers,
Dave
--
Dave Balmain
http://www.davebalmain.com/
2007 Mar 01
4
Need help creating my own Filter in Ruby
...ld_index, it fails randomly (works most of the time, but
I''m sure some documents are not well indexed). It fails with messages
like this one:
failed adding 140823996. r_analysis.c:432
Thanks for any help.
If you want to see how I''ve done it so far, go to http://
ferret.davebalmain.com/trac/ticket/168
Philippe April
2006 Sep 06
9
Which analyzer to use
Lucene''s standard analyzer splits words separater with underscores.
Ferret doesn''t do this. For example, if I create an index with only
document ''test_case'' and search for ''case'' it doesn''t find anything.
Lucene on the other hand finds it. The same story goes for words
separated by colons.
Which analyzer should I use to emulate
2007 Apr 05
4
intalling ferret
i have this error when i try to install ferret
C:\Documents and Settings\>gem install ferret
Need to update 6 gems from http://gems.rubyforge.org
......
complete
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install ferret
creating Makefile
nmake
2006 Sep 03
9
using highlight from aaf
Hi,
I''m trying to use highlight ferret method with trunk aaf and 0.10.1
ferret.
In my search display I use:
Myindexedclass.ferret_index.searcher.highlight(@query, result_line.id,
:content)
* searcher is a protected method; how can I access to the searcher from
aaf ?
* is the doc id in aaf the same as my model id ?
* is the first param, query, the string query or the query object ?
2007 Feb 26
7
Problem with large index file
Hello,
Ferret created a 4.5GB> index file.
$ 4534029210 2007-02-26 12:46 _el.cfs
The creation of the index went smoothly. Searching through this index
also works fine. However whenever I try to get the contents of an
indexed document I get an error when the document number is above
621108:
irb(main):080:0> searcher[621108].load
IOError: IO Error occured at <except.c>:79 in xraise
2006 Sep 13
7
German Phrase
Hi German users,
Can one of you guys give me a German Phrase that I can use to
demonstrate tokenizing non-ascii text. Preferably something about 40
bytes long with lots of umlauts and perhaps a ?.
Cheers,
Dave
2007 Feb 27
3
acts_as_ferret rebuilding issue with ferret 0.11.0
Hi,
There is a problem with the way that acts_as_ferret verifies the index
is valid. In ensure_index_exists it looks for a file named ''segments''.
With the 0.11.0 release of ferret there is no file with this name. On my
dummy application I have a ''segments.gen'' and ''segments_2y''.
Changing the test to segments.gen fixes the problem that the
2007 Feb 25
9
Ferret 0.11.0-rc1
...hat the current version of Ferret is not
backwards compatible. If you install the latest version you will need
to rebuild your index from scratch. Having said that, I do recommend
that everyone upgrade. The new version should be *MUCH* more stable.
** Try It **
$ sudo gem install ferret
--
Dave Balmain
http://www.davebalmain.com/
2006 Mar 19
3
Ferret 0.9.0-alpha (port of Apache Lucene to pure ruby)
...t with. It has
been developed on Linux so it should work fine there. Windows and Mac
users beware.
Also, the current version doesn''t allow you to extend Ferret. For
example, you can''t write your own analyzer or filter. This will be
rectified in the near future.
http://ferret.davebalmain.com/trac/
Dave Balmain
== Description
Ferret is a full port of the Apache Lucene searching and indexing
library. It''s available as a gem so try it out! To get started quickly
read the quick start at the project homepage;
http://ferret.davebalmain.com/api
http://ferret.davebalmain.com/a...
2006 Jul 31
16
Sorting performance
I''m using acts_as_ferret to index one of my rails models. Right after I
start the app the first request that orders by some ferret field will
take very long. Subsequent ones seem to be fast. I guess some caching is
going on. Any tips on solving this?
Pedro.
2007 Apr 09
5
highlight crashes
I am trying to use highlight, but I am getting this kind of thing:
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.4/lib/ferret/index.rb:197:in
`highlight'': IO Error occured at <except.c>:93 in xraise (IOError)
Error occured in index.c:1222 - lazy_df_get_bytes
len = -5, but should be greater than 0
from
2007 Mar 04
5
Getting non-stemmed terms from IndexReader
I need to get a set of terms being indexed using Ferret. I used
IndexReader.terms and it returns a list of TermEnum nicely. The only
problem is that my analyzer includes a stemming filter.
So now, the terms I''m getting back are all stemmed. Is there anyway to
get the original unstemmed terms back from the index somehow? Thanks.
--
Posted via http://www.ruby-forum.com/.
2005 Dec 02
8
Ferret 0.3.0 released
...'t need to call flush anymore. This is very useful if you have
multiple processes modifying the index as you might have in a Rails
application.
Also, it should now compile with the MSVC compiler on windows thanks
to a patch from Anatol Pomozov. You can download it from here;
http://ferret.davebalmain.com/trac/attachment/wiki/Windows/ferret_ext.so?format=raw
And place it in the lib directory of your Ferret distribution.
Cheers,
Dave
Changes:
* Added lock finalizer.
* Added :auto_flush option to Index::Index
* Many speed optimizations
* Fixed extension to compile on Windows.
2006 Oct 26
5
Away for a week
...nt
history. If anyone can narrow down a test case that can consistently
segfault it would be a massive help. Also, if anyone can figure out
what the problem is with Ferret on Windows that breaks Rails views
with tabs in them, you''d be a hero to a lot of people.
See you all soon,
--
Dave Balmain
http://www.davebalmain.com/
2006 Sep 23
8
svn problems
I can consistently segfault the 0.10.4 gem, so I''m trying to get the
subversion version working with hopes towards tracking the problem down.
I have a fresh SVN checkout but:
a) the version (in ferret.rb) claims to be 0.9.6; and
b) Ferret::Index::FieldInfos and a couple other classes are missing at
run time. It looks like this is because they''re not exported in the C