apostropheMysqlSearchPlugin Not Indexing Numbers

11 views
Skip to first unread message

Yoav

unread,
May 29, 2012, 5:10:59 AM5/29/12
to apostr...@googlegroups.com
Hi,
I migrated zend with MysqlSearchPlugin.
While testing the new search plugin I noticed that the numbers are not indexed, (example - search for year 2012)

thanks in advance
Yoav Levy

Tom Boutell

unread,
May 29, 2012, 9:31:09 AM5/29/12
to apostr...@googlegroups.com
If you don't like this behavior, you can subclass aMysqlSearch,
override the split() method, and configure app.yml to look at your
class instead:

all:
a:
search_service_class: myOwnSubclass
--
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.com

Yoav

unread,
May 29, 2012, 4:47:03 PM5/29/12
to apostr...@googlegroups.com
Thanks Tom!
I did as you suggested. Works perfectly.



On Tuesday, May 29, 2012 4:31:09 PM UTC+3, Tom Boutell wrote:
If you don't like this behavior, you can subclass aMysqlSearch,
override the split() method, and configure app.yml to look at your
class instead:

all:
  a:
    search_service_class: myOwnSubclass

Tom Boutell

unread,
May 29, 2012, 5:35:59 PM5/29/12
to apostr...@googlegroups.com
Great! You will have a lot more "words" in your database of course (:
Reply all
Reply to author
Forward
0 new messages