Displaying 20 results from an estimated 8000 matches similar to: "Ferret 0.3.0 released"
2005 Nov 30
8
Compilation of ferret C-extension under Windows.
Hi, David.
I have recently fixed ferret C sources and successfully compile extension
with MSVC.Net The problem was that MS compiler is more stricter that GCC and
require that all variables were declared before using. There was ~30 such
declaration. I have fixed them all.
But I am not sure that it works because tests failed with following error
both on clean and patched versions. So seems that it
2005 Dec 02
4
How to get the count of matching documents
I''m trying to generate a rails pagination helper for some ferret
search results, and I need to know how many total matches there are to
my search query. I don''t see an obvious way of finding this. Any
help would be appreciated.
Thanks,
Carl Youngblood
2005 Dec 03
3
How to avoid duplicate search results
I seem to be getting the same document multiple times in my search
results. I''m wondering if this is because by default a document is
placed in the search results every time the word you''re looking for
shows up. Is that the way it works?
Thanks,
Carl
2005 Nov 26
3
Several questions about Ferret.
Hi.
First of all I would like to say "thank you" to David for its really
valuable work. Ferret is a great project and it have great future.
Well now is my questions as beginner in Ferret.
How to remove ALL documents from index. Remove files is not a solution. I am
interesting in something like
index.remove_index or something like this. What is a usual way of doing it??
What is the
2005 Nov 26
3
Get number of found documents
Hi David again.
I would say that Ferret works great with Rails.
And now I am trying to create pagination. Because site could have millions
of documents I need to create on page link something like
"Page #100". Rather usual situation.
But to create this links I need to know how many documents Ferret found in
index.
For now I am doing it with following code
index =
2005 Dec 02
1
Compile error on FreeBSD 4.10 gcc 2.95.4
FYI, I tried installing ferret on my freebsd virtual server and got this:
retango# gem install ferret --include-dependencies
Attempting local installation of ''ferret''
Local gem file not found: ferret*.gem
Attempting remote installation of ''ferret''
Updating Gem source index for: http://gems.rubyforge.org
Building native extensions. This could take a while...
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 Oct 03
8
Ferret install, rake failing on make
I''m currently trying to install the latest version of Ferret (0.10.9)
on my Ubuntu Dapper (6.06) system. I have tried the gem, but it does
not generate the ferret_ext.so file. Ideally I would prefer to install
from the gem, but if source works, I''m fine with that too.
I am now trying an install from source, but when I run the command ''$
rake ext'' I get the
2007 Feb 25
9
Ferret 0.11.0-rc1
Hey folks,
Sorry for cross posting like this but this is an important
announcement for all Ferret users.
** Description **
Firstly for those who don''t know, Ferret is a full-text search library
which makes adding search to your application a breeze. It''s much
faster than MySQL full-text search as well most other search libraries
out there. It allows you to do Boolean (+ruby +
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
2006 Jun 11
3
Bus Error with Ferret 0.9.3 using the BooleanQuery api
Hey guys,
I''ve been trying out ferret 0.9.3 on my powerbook this weekend and I''ve
been triggering ''bus errors'' when using the Query API. If I
programmatically build up strings, it works just fine.
There''s some more information available in the trac ticket
http://ferret.davebalmain.com/trac/ticket/62
Is anyone successfully using the Query API on
2005 Nov 19
14
FULLTEXT search in MySQL on rails
I tried adding a FULLTEXT search index to a table of mine in MySQL,
only to discover that the InnoDB table format doesn''t seem to support
this feature. Switching to the MyISAM table type seemed to work, but
I seem to have some recollection that ActiveRecord transactions aren''t
fully atomic on MyISAM tables. Is this true or am I just remembering
wrong? If so, does anyone have
2007 Feb 28
5
win32 11.1-rc2 ferret gem available?
Hello!
I am developing a rails application in a test environment on Windows XP and recently upgraded to InstantRails 1.5. During the upgrade process, I went to install the latest ferret gem and realized that the latest gem compiled for Windows was 10.9. We upgraded our production environment (Ubuntu) to 11.1-rc2 successfully, but wanted to find out if we were going to run into any problems
2007 Mar 05
2
Is indexing slower?
Hi - I upgraded to Ferret 0.11.3 from 0.10.13.
I used to index 10,000 records in 10 secs. Now it takes 13 minutes.
(That''s a factor of ~75x)
Did something change in the flush semantics, or something?
Thanks!
Schnitz
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Jun 05
6
Ferret Win32 Gem for windows users ...
Hi and thanks for Ferret!
I''m wondering if it would be possible to create a Ferret Win32 gem which
includes the c performance code pre-compiled for those of us without a C
compiler handy ?
Zed Shaw seems to have cracked this particular nut with his Mongrel
Win32 gem.
Alternately, is there a zip of the Win32 .so Ferret needs that I could
download and manually install?
Kind Regards
2006 Oct 04
6
Ferret just got faster.
Hey guys,
Sorry I haven''t been around for the last few days. I''ve just finished
a coding marathon fixing up some of the performance problems in
Ferret. If you don''t know what I''m talking about there has been a
problem with Filters and Sorts on large indexes. Well, I think I''ve
fixed the problem.
Before:
dbalmain at ubuntu:~/workspace/exp_old/c $
2006 Mar 01
9
Updating Index Is Very Slow
Hi,
I am experiencing very poor performance when updating my index. For
example, to update the index for 10 documents, it is taking 3 to 4
seconds. My index is currently very small... with probably less than
100 docs in it.
I have created my index as follows:
GIFT_INDEX = Index::Index.new(:path => "#{index_dir}/gift", :key =>
''id'', :auto_flush => true)
2006 May 03
2
Is it safe to delete ferret-write.lck if it is stale?
I''m noticing that ferret-write.lck sometimes stays in my index
directory and throws exceptions whenever someone tries to do a search.
Apparently there are some cases where ferret doesn''t realize that the
file is old and can be deleted. I''m wondering what the best way to
recover from this error is. Am I safe just writing a cron job that
deletes this file if it is over
2007 Feb 27
15
Ferret 0.11.1-rc2
Hey guys,
Just released Ferret 0.11.1. Hopefully this will fix *most* of the
problems people were having. Now that I know gcc hides stack overflows
on Ubuntu because -fstack-protector is set, I won''t get caught by that
one again. Anyone know any other gotchas 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
2005 Dec 08
2
Confusing lock problem in rails
I have a model class in rails that has a class variable that is a
ferret index. For some reason, the methods in my class that refer to
the class variable are getting lock conflicts. Can anybody see any
obvious reason why? I notice that it keeps leaving a lock file in the
index directory. I thought auto_flush was supposed to remove the lock
automatically after every operation. Is there