Sphinx Client API 0.3.1 and 0.4.0 r909 for Sphinx 0.9.8 r909 released

Dec 09
2007 21:33 (MySQL, RoR Plugins) · Русский (2,835 views)

Sphinx Search Engine I have a good news: Sphinx Client API has been updated and now it supports all brand new features of the unstable Sphinx 0.9.8 development snapshot. What does it mean for you as a developer? What features you will get if you would decide to switch to the new version? I will describe most valuable improvements of the Sphinx in this article, and will show how to use them with new Sphinx Client API 0.4.0 r909.

Read the rest of entry »

Sphinx Search Engine 0.9.7, Ruby Client API 0.3.0

Apr 05
2007 16:44 (Development, MySQL, RoR Plugins, Ruby on Rails) · Русский (6,115 views)

Sphinx Search EngineIt’s happened! We all waited for Sphinx update and finally Andrew Aksyonoff has released version 0.9.7 of his wonderful search engine (who does not know about it, look my previous posts here and here).

Read the rest of entry »

Colorizing console Ruby-script output

Mar 23
2007 18:28 (Development, Ruby on Rails) · Русский (9,261 views)

Very often I have to implement console scripts (because of my laziness, for boring processes optimization). Many of them write some information to the output, show process status or display results of work. Anyway, it’s very wearisome action to read script output, and I want to highlight most important things: errors in red, successfully finished steps in green color, etc. And it is a case when ANSI escape sequences could help. They are supported by the most terminals, including VT100 (btw, Windows NT family console does not support it, but I will back to this issue later).

Read the rest of entry »

5 Things why I love RSpec

Mar 19
2007 09:31 (Development, RSpec, Ruby on Rails) · Русский (6,805 views)

RSpec provides a framework for writing what can be called executable specifications of program behavior. In this short post I want to explain why I use this framework in place of classic TestUnit library.

Read the rest of entry »

Sphinx 0.9.7-RC2 released, Ruby API updated

Dec 20
2006 08:33 (Development, MySQL, PHP, RoR Plugins, Ruby on Rails) · Русский (6,151 views)

Today I found that Sphinx search engine has been updated. Major new features include:

  • extended query mode with boolean, field limits, phrases, and proximity support (eg.: @title "hello world"~10 | @body example program);
  • extended sorting mode (eg.: @weight DESC @id ASC);
  • combined phrase+statistical ranking which takes words frequencies into account (currently in extended mode only);
  • official Python API;
  • contributed Perl and Ruby APIs.

I have updated Sphinx Client Library along with Sphinx 0.9.7-RC2 Windows build.

 
Copyright © 2005 - 2008, Dmytro Shteflyuk