Re: Plone's stupid search

espen <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Hi again..



5. mars 2015 kl. 16:05 skrev Jens W. klein-2 [via Plone] <ml-node+s293351n7573340h93-PKuAHvtXa09l57MIdRCFDg@public.gmane.org>:

> Customers want both, but all are confused by the mix and most are 
> comlaining. 
> 
> It must search allways the same way in both searches. 
> 
> I'd prefer a setting in registry how the search behaves. IMO default 
> should be a star search (but i dont care much). 

I will try to do that…

That said: the setting should also be in the control panel
The control panel stuff should mostly be in the plone.app.seach product.
(now, there would have to be changes in two different products for «one thing» (feels wrong to me)

PS: I favour a «pluggable» control panel, where the settings etc are in the product, ( nathan: like collective.plonetruegallery)

Espen


> 
> Jens 
> 
> On 2015-03-05 15:57, Espen Moe-Nilssen 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/
> >
> 
> 
> -- 
> Klein & Partner KG, member of BlueDynamics Alliance 
> 
> 
> ------------------------------------------------------------------------------ 
> 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 
> [hidden email] 
> https://lists.sourceforge.net/lists/listinfo/plone-users
> 
> 
> If you reply to this email, your message will be added to the discussion below:
> http://plone.293351.n2.nabble.com/Plone-s-stupid-search-tp7573338p7573340.html
> To start a new topic under General Questions, email ml-node+s293351n293352h65-PKuAHvtXa09l57MIdRCFDg@public.gmane.org 
> To unsubscribe from Plone, click here.
> NAML





--
View this message in context: http://plone.293351.n2.nabble.com/Plone-s-stupid-search-tp7573338p7573342.html
Sent from the General Questions mailing list archive at Nabble.com.

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