Hello Petko,
apostropheMysqlPlugin was expressly designed to be dead simple and
doesn't include this functionality:
http://trac.apostrophenow.org/wiki/apostropheMysqlSearchPlugin
That plugin is enabled in the sandbox by default these days because it
is so much less of a hassle than dealing with Zend Lucene Search.
However you can shut off the mysql search plugin easily via app.yml.
Just comment out the line for aMysqlSearch.
After doing so you will need to rebuild the search index (which will
use Zend Lucene):
./symfony apostrophe:rebuild-search-index
--env=whatever-is-appropriate-on-this-box
That will take a while on a big site.
Then you'll have access to the more extensive search syntax of Zend Lucene.
Be aware that you pretty much MUST run command line tasks and the
apache/PHP processes as the SAME user for Zend Lucene to not
eventually screw up by making it impossible for one or the other to
write to or create files in the index folder (it's a known issue with
Zend Lucene).
* * *
However I should point out that the page you wanted is probably coming
up first in the search results. If it isn't, I should ask if you're
doing a blog search? We made a fix just a week or two ago in svn to
correct the order of blog search results so that high quality matches
come first, just as they already do for searching among pages.
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com