Re: Plone's stupid search

Nathan Van Gheem <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <CAL8hw9EW5PaNyPSv1wvzu2+QEeuYRBXeAOVSWsoCt1QFkVhPOw@mail.gmail.com>
Yes. And I'd like to see a consensus on what we want for the proper way to
do all search in Plone 5. I just recently went through making decisions on
this when working on Plone 5 live search. I ended up disabling the '*' +
text + '*' approach because the results didn't match full search results.

On Thu, Mar 5, 2015 at 8:57 AM, Espen Moe-Nilssen <[email protected]> wrote:

> 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/
> _______________________________________________
> Plone-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plone-users
>



-- 
Nathan Van Gheem
Solutions Architect
Wildcard Corp

------------------------------------------------------------------------------
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/

_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.