J3 Issue ?
avatar astridx
astridx
14 May 2017

My problem is, that I see suggestions with no search result if I use a filter

Steps to reproduce the issue

  1. Create an article in the category donotshow and fill in the text “nina”
  2. Open the component Smart Search and create the index.
  3. Create a module for Smart Search and test this module with the search string “ninh”
    There is nothing found, but you will see the question: Did you mean: nina?
    If you click on nina you see the search result.
  4. Go back to component Smart Search and create a search filter for only showing uncategorized items.
  5. Go back to the module and set the filter in the options of this module.
  6. Delete the cache
  7. Now go back to the frond end and test the Smart Search module again with the search string “ninh”
    There is nothing found, but you will see the question: Did you mean: nina?
    If you click on nina you see no result, because you set the filter.

Expected result

I would only see suggestions, if there are results for this suggestion.

Actual result

I see suggestions for results, that are filtered.

avatar astridx astridx - open - 14 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 14 May 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 May 2017
avatar astridx astridx - edited - 14 May 2017
avatar astridx astridx - change - 14 May 2017
The description was changed
avatar astridx astridx - edited - 14 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 14 May 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 14 May 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 14 May 2017
Category com_content com_finder
avatar brianteeman
brianteeman - comment - 15 May 2017

This is a long standing issue with the finder index not the filter. If I remember correctly you will also see suggestions for content that you do not have permission to see - if i remember wrongly and that has been fixed then the same fix will work here

avatar astridx
astridx - comment - 15 May 2017

I could not find an issue for this problem - if someone else find something it would great to link it here.

avatar brianteeman
brianteeman - comment - 15 May 2017

@astridx it would be very old - perhaps in the joomlacode archive here https://developer.joomla.org/joomlacode-archive/

The conversation was between me and chris davenport where I was stating that it was a security issue to display suggestions to content that you dont have permission to see

avatar brianteeman
brianteeman - comment - 15 May 2017

and the report and discussion that resulted in that https://issues.joomla.org/tracker/joomla-cms/4301

As you will read thats not the first report (the one I remembered @astridx but its got the same answers)

avatar joomla-cms-bot joomla-cms-bot - change - 15 May 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 15 May 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 May 2017
Status New Discussion
avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar Hackwar
Hackwar - comment - 24 May 2018

The auto suggest in Smart Search does display words from unpublished content or content that you don't have access to. Unfortunately, that can not be prevented with the way Smart Searches auto suggest works. I can only give the advice to switch off auto suggest if that is a problem. We can definitely not fix that in 3.x and I'm also hesitant to change this in 4.0, which again would be really difficult.

I'm asking to close this issue as unfixable.

avatar ggppdk
ggppdk - comment - 24 May 2018

Issues with discussions (there are others closed as duplicates with no discussion in them)
#4301 (Smart search showing unpublished articles in auto suggest )
#8655 (Smart Search - search suggestion does not obey access permission of content)

and the PR mentioned by @brianteeman (github link)
#4401

avatar brianteeman
brianteeman - comment - 29 May 2018

Closed as not fixable

avatar brianteeman brianteeman - change - 29 May 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-05-29 06:50:08
Closed_By brianteeman
avatar brianteeman brianteeman - close - 29 May 2018

Add a Comment

Login with GitHub to post a comment