[ANN] 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 searches
for “set-up”, “setup” or just plain “set” will all match. This filter
is also applied to the StandardAnalyzer.

I’ve also made the process_query method in Index::Index public. Before
anyone asks, the reason it is process_query and not parse_query is
that it accepts strings or query objects and may also optimize queries
in future.

Have at it,

Dave

Dave,

Got a

ERROR: While executing gem … (Zlib::BufError)
buffer error

when trying to gem install 0.10.3 mswin32 on xp on ruby 1.8.5

The ruby option failed as well but I think that’s expected.

Sorry to critize - I know how much it sucks to work your ass of on stuff
and receive bug reports.

-ben

On 9/9/06, ben [email protected] wrote:

Sorry to critize - I know how much it sucks to work your ass of on stuff
and receive bug reports.

-ben

Hi Ben,

I don’t what the problem is and I’m afraid I don’t have time to fix it
right now. I rolled back to the latest stable release of the one-click
installer (1.8.4-20 stable). Sorry about the trouble. Let me know if
this fixes the earlier problem (with the rails view rendering).

Hi,

same Problem here on

  • Windows 2003 Server
  • ruby 1.8.4 (2005-12-24) [i386-mswin32]
  • ferret 0.10.3 (mswin32)

ferret 0.10.4 has no mswin32 version - at least on the gem server I’m
connected to right now…

Cheers,
Jan

On Sat, Sep 09, 2006 at 11:27:51AM +0200, Jan P. wrote:

Hi,

same Problem here on

  • Windows 2003 Server
  • ruby 1.8.4 (2005-12-24) [i386-mswin32]
  • ferret 0.10.3 (mswin32)

ferret 0.10.4 has no mswin32 version - at least on the gem server I’m
connected to right now…

the 0.10.4 installs itself as ferret-0.1.4 on linux, I guess something’s
broken there. 0.10.3 works fine here (Linux).

Jens


Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk


webit! Gesellschaft für neue Medien mbH www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer [email protected]
Schnorrstraße 76 Tel +49 351 46766 0
D-01069 Dresden Fax +49 351 46766 66

On 9/9/06, Jens K. [email protected] wrote:

connected to right now…

the 0.10.4 installs itself as ferret-0.1.4 on linux, I guess something’s
broken there. 0.10.3 works fine here (Linux).

Jens

Anyone else having this problem? It’s fine here. I have no idea what
might be causing this.

Dave

On Sun, Sep 10, 2006 at 12:43:23AM +0900, David B. wrote:
[…]

the 0.10.4 installs itself as ferret-0.1.4 on linux, I guess something’s
broken there. 0.10.3 works fine here (Linux).

Jens

Anyone else having this problem? It’s fine here. I have no idea what
might be causing this.

works now. but I swear it didn’t when I first tried :wink:

btw, there’s an issue with the (now public) process_query method: It
doesn’t call ensure_reader_open, but it should. The following crashes
things atm:

require ‘rubygems’
require ‘ferret’
i = Ferret::I.new
i << ‘testing’
i.process_query ‘test*’

doing a search before the call to process_query, or invoking
ensure_reader_open via send() helps, but isn’t so nice :wink: I think now
that it’s public, the whole process_query has to get it’s own
@dir.synchronize block, too…

I’ve worked around this for now in aaf, and will push out the first
stable, 0.10.x compatible version this evening.

cheers,
Jens


webit! Gesellschaft für neue Medien mbH www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer [email protected]
Schnorrstraße 76 Tel +49 351 46766 0
D-01069 Dresden Fax +49 351 46766 66

On 9/10/06, Jens K. [email protected] wrote:

works now. but I swear it didn’t when I first tried :wink:
Hey, I know the feeling. :slight_smile:

doing a search before the call to process_query, or invoking
ensure_reader_open via send() helps, but isn’t so nice :wink: I think now
that it’s public, the whole process_query has to get it’s own
@dir.synchronize block, too…

I’ve worked around this for now in aaf, and will push out the first
stable, 0.10.x compatible version this evening.

cheers,
Jens

Right you are. The fix is in subversion. Thanks again Jens.

On 9/9/06, David B. [email protected] wrote:

ferret 0.10.4 has no mswin32 version - at least on the gem server I’m
connected to right now…

the 0.10.4 installs itself as ferret-0.1.4 on linux, I guess something’s
broken there. 0.10.3 works fine here (Linux).

Jens

Anyone else having this problem? It’s fine here. I have no idea what
might be causing this.

No problems here.


Kent