[MTOS-dev] Search (Was: should there be an mtos-general? or (shudder) mtos-help?)

David Raynes rayners at apperceptive.com
Fri Dec 14 07:56:52 PST 2007


David Jacobs wrote:
> MT4 support doesn't, but the sphinx search team (
> http://sphinxsearch.com/ ) has just added some features that will
> (hopefully) make this possible. Rayners & John follow this more
> closely than I do, but some of the dev releases have true (lat/long)
> proximity searches and things like that.

The plugin currently indexes all columns associated with the mt_entry 
row (title, text, text_more, excerpt, etc.).  Recent versions of the 
plugin (which I don't think we've put up on the apperceptive site yet?) 
have added support for sphinx's extended match searching feature, so a 
search string could be crafted to search for an entry whose title has 
the word 'foo' in it and body had the word 'bar' ("@title foo @text bar").

See: http://www.sphinxsearch.com/doc.html#extended-syntax

There's also the various sorting modes, pagination, and a few other 
handy search bits.

-- 
David Raynes
rayners at apperceptive.com



More information about the MTOS-dev mailing list