No Code Attached Yet J3 Issue
avatar Elfangor93
Elfangor93
29 Jan 2021

Steps to reproduce the issue

  1. Install fresh Joomla 3.9.x
  2. Create 4 Articles containing the following content:
  • Article 1: article, sea, water, longboat, sunshine
  • Article 2: article, wave, boat, beach, sunglass
  • Article 3: article, sand, sun, iceboating, sailing
  • Article 4: article, sandstone, sunburned, desert, camel
  1. Activate "Content - Smart Search" plugin
  2. Index content (Backend - Components - Smart Search - Index)
  3. Create frontend menu item type "Smart Search - Search"
  4. Switch to frontend and go to the page of your created menu item
  5. Search with the search term "boat"

Expected result

Article 1, Article 2 and Article 3 showing up in the search results

Actual result

Only Article 2 showing up in the search results

System information (as much as possible)

XAMPP for Windows 7.2.28
Database Type MariaDB
Database Version 10.4.11-MariaDB
Database Collation utf8_general_ci
Webserver Apache/2.4.41 (Win64) OpenSSL/1.1.1c PHP/7.4.9
Joomla! Version Joomla! 3.9.24

Additional comments

With the com_search component i am able to generate the expected result. Com_search finds the three articles (Article 1, Article 2 and Article 3) as expectet.
In my understanding, the com_finder is the more advanced search and should deliver at least as good results as the com_search.

avatar Elfangor93 Elfangor93 - open - 29 Jan 2021
avatar joomla-cms-bot joomla-cms-bot - change - 29 Jan 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 29 Jan 2021
avatar alikon
alikon - comment - 29 Jan 2021

if you activate the "Content - Smart Search" plugin after the articles creation, then for getting results you need to run INDEX from smart seach backend

avatar Elfangor93
Elfangor93 - comment - 29 Jan 2021

Index content (Backend - Components - Smart Search - Index)
Thats what I described in step 4.

The index was created of course.

avatar alikon
alikon - comment - 29 Jan 2021

Oh sorry, missed that

avatar chmst
chmst - comment - 29 Jan 2021

In J3, com_finder is not reliable, helas.
In J4, com_finder has been completely reworked and and now it is a good and reliable tool. So the recommendation is using com_search in J3 and com_finder in J4.

avatar alikon alikon - change - 31 Jan 2021
Labels Added: J3 Issue
avatar alikon alikon - labeled - 31 Jan 2021
avatar alikon
alikon - comment - 31 Jan 2021

the same behaviour in J4
Screenshot from 2021-01-31 09-02-18

avatar chrisdavenport
chrisdavenport - comment - 31 Jan 2021

Are you using the stemmer?

avatar brianteeman
brianteeman - comment - 31 Jan 2021

I can confirm this on j3 (not tested on j4 as you have shown its the same)

Yes stemmer is enabled

avatar chrisdavenport
chrisdavenport - comment - 31 Jan 2021

I suspect the explanation might be that "longboat" and "iceboating" don't share the same stem with "boat" according to the stemmer.

avatar alikon
alikon - comment - 2 Feb 2021

for those about this matter...see #32236 too

avatar alikon alikon - close - 11 Nov 2021
avatar alikon
alikon - comment - 11 Nov 2021

let's continue on #32236

avatar alikon alikon - change - 11 Nov 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-11-11 19:31:58
Closed_By alikon
Labels Added: No Code Attached Yet
Removed: ?

Add a Comment

Login with GitHub to post a comment