?
avatar PhilETaylor
PhilETaylor
7 Oct 2020

Steps to reproduce the issue

Install Joomla4
Install blog sample data
Login to admin
Components->SmartSearch->Index->index button
Components->SmartSearch->Statistics->options button
Enable: Gather Search Statistics
Enable: Allow empty search (IM ASSUMING THIS MEANS: You can search for "")

Navigate to a search box on the frontend of your site

http://example.com/index.php/component/finder/search

search for "PhilTaylor"

Expected result

No results because PhilTaylor is not talked about in your content items.

Actual result

Screenshot 2020-10-07 at 01 45 48

avatar PhilETaylor PhilETaylor - open - 7 Oct 2020
avatar joomla-cms-bot joomla-cms-bot - change - 7 Oct 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Oct 2020
avatar brianteeman
brianteeman - comment - 7 Oct 2020

I am assuming that the name of the user admin is Phil Taylor

The author is part of the taxonomy in smart search. To confirm this go to the smart seach component and check the content maps. You should see a map entry for Phil Taylor with a parent of author.

(not saying its right or wrong to just explaining how smart search works)

avatar PhilETaylor
PhilETaylor - comment - 7 Oct 2020

You assume wrong. My admin usernames "name" is also "admin"

"PhilTaylor" exists no where in my database. It's not a users name, alias, or otherwise used at all on the site. It was just a poor illustration of a generic text string. Sorry if it's use deflected from the actual bug.

You can replicate the reported bug by searching with any random text string you like as long as it's a single word without spaces

avatar brianteeman
brianteeman - comment - 7 Oct 2020

In that case I can not confirm your findings

image

avatar PhilETaylor
PhilETaylor - comment - 7 Oct 2020

Well now Im in the office, so totally different machine in a totally different location, I follow the instructions to the letter in the opening post of this issue and I can still replicate the issue on this iMac too.

(dockerised) mysql 5.7 version just in case that makes a difference.

Video from installing : https://screenshot.phil-taylor.com/4guJmyXp

Screenshot 2020-10-07 at 12 48 56

avatar brianteeman
brianteeman - comment - 7 Oct 2020

Enable: Allow empty search

Sorry I missed that part. That is the key to replicating the bug

(IM ASSUMING THIS MEANS: You can search for "")

From memory its related to using the advanced search filters without a search term. But clearly its not working at all

avatar Hackwar
Hackwar - comment - 10 Oct 2020

Here is a fix: #31040

avatar Quy Quy - change - 10 Oct 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-10-10 19:46:18
Closed_By Quy
avatar Quy Quy - close - 10 Oct 2020

Add a Comment

Login with GitHub to post a comment