J4 Issue ? ?
avatar alxcube
alxcube
13 Dec 2016

maybe it is good idea that search plugins would return subquery that will be used in main union query?
this would help to show all search results with normal pagination

avatar alxcube alxcube - open - 13 Dec 2016
avatar joomla-cms-bot joomla-cms-bot - change - 13 Dec 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 13 Dec 2016
avatar nibra nibra - change - 16 Mar 2017
Category com_search Feature Request
avatar nibra nibra - change - 16 Mar 2017
Status New Discussion
avatar nibra
nibra - comment - 3 Jun 2017

It indeed is. It would allow to actually get 20 results in summa, if you request 20 resukts, and not 20 results per search plugin.

As it changes behaviour, such a change nis not suitable for Joomla 3.x. But it could go into 4.0.

/cc @wilsonge @mbabker

avatar mbabker mbabker - change - 3 Jun 2017
Labels Added: ?
avatar mbabker mbabker - labeled - 3 Jun 2017
avatar mbabker
mbabker - comment - 3 Jun 2017

Added to RFC card on the general 4.0 board. No guarantees on it being included, but we have this in a visible spot tracking potential 4.0 work.

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Jun 2017
Title
Feature request: use sql union in search plugins
[4.0] Feature request: use sql union in search plugins
avatar joomla-cms-bot joomla-cms-bot - edited - 3 Jun 2017
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jun 2017
Title
Feature request: use sql union in search plugins
[4.0] Feature request: use sql union in search plugins
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jun 2017

changed Title to show its about 4.0.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13174.

avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar Hackwar
Hackwar - comment - 3 Aug 2018

Just want to say that the right way to go would be to use com_finder instead. com_search isn't really able to handle this in any way. Even if we were to use UNION, we would need some attribute to sort by, otherwise you will still just have the results from the first plugin before the results of the second plugin, etc.

avatar Hackwar
Hackwar - comment - 23 Mar 2019

As I wrote above, this feature request is not really a solution AND would prevent current customisations. I'm voting against this, whatever effect that has. Considering that this request is over 2 years old and we have a better solution in 4.0, I'm proposing to close this.

avatar HLeithner
HLeithner - comment - 23 Mar 2019

Still a valid issue, maybe not with union but a way to inject sort and paginationable results.

Afaik there is not solution in com finder for this.

avatar Hackwar
Hackwar - comment - 23 Mar 2019

Finder is all about exactly that.

There is no way to get what you want with com_search in a even remotely B/C way. Everything would mean that you have to either re-implement com_finder or make such an effort as a 3PD, that you might as well create a finder plugin instead.

avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Apr 2019
Title
[4.0] Feature request: use sql union in search plugins
[4.0] use sql union in search plugins
avatar franz-wohlkoenig franz-wohlkoenig - edited - 19 Apr 2019
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jun 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-06-17 22:01:30
Closed_By joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 17 Jun 2019
avatar Quy Quy - change - 17 Jun 2019
Closed_Date 2019-06-17 22:01:30 2019-06-17 22:01:31
Closed_By joomla-cms-bot Quy
avatar joomla-cms-bot
joomla-cms-bot - comment - 17 Jun 2019

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/13174

avatar Quy
Quy - comment - 17 Jun 2019

Closing as stated above.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13174.

Add a Comment

Login with GitHub to post a comment