Plone's stupid search
Espen Moe-Nilssen <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
Hi It has been irritating me a bit that Plone’s livesearch shows results for for example ‘tes’ if some content contains ‘test’, while the normal search does not. Especially, this is important with mobile sites where I want to disable the livesearch. After advice from cdw9 (Chirssy) on #plone, I found out that this requires only one line of code in plone.app.browser.py, something like text = ‘*’ + text + ‘*’ —————— personally, I think this should be default, people expect to find ‘Something’ when they seach for ‘Some’ Alternatively, it could be a setting in the control panel —————— PS: I can do this, but I would need someone to ‘look through the code ’ when I am done Espen ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/