Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SmartSearch (com_finder) can't find content containing compound words #32186

Closed
Elfangor93 opened this issue Jan 29, 2021 · 10 comments
Closed

SmartSearch (com_finder) can't find content containing compound words #32186

Elfangor93 opened this issue Jan 29, 2021 · 10 comments

Comments

@Elfangor93
Copy link
Contributor

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.

@alikon
Copy link
Contributor

alikon commented Jan 29, 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

@Elfangor93
Copy link
Contributor Author

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

The index was created of course.

@alikon
Copy link
Contributor

alikon commented Jan 29, 2021

Oh sorry, missed that

@chmst
Copy link
Contributor

chmst commented Jan 29, 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.

@alikon
Copy link
Contributor

alikon commented Jan 31, 2021

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

@chrisdavenport
Copy link
Contributor

Are you using the stemmer?

@brianteeman
Copy link
Contributor

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

Yes stemmer is enabled

@chrisdavenport
Copy link
Contributor

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

@alikon
Copy link
Contributor

alikon commented Feb 2, 2021

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

@alikon
Copy link
Contributor

alikon commented Nov 11, 2021

let's continue on #32236

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants