Search For SP Portfolio Items Not Working - Question | JoomShaper

is live, now with multi-currency selling.

Search For SP Portfolio Items Not Working

DE

Dan Ellmore

General 1 month ago

My clients site is a news website and everything on the site is done in SP Portfolio. But the search module has not worked properly since we moved to Joomla 6 and PHP 8.3 - which we needed to do due to recent security issues.

How do we get this working again... and example to search is "Tour of Britain" there are 5 articles for this in SP Portfolio but none appear.

We would also like if possible for the search to be set to just search SP Portfolio items is that possible please?

thanks

0
7 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 month ago #232063

Hi Dan,

Thanks for the details.

SP Simple Portfolio added Smart Search support for Joomla 4 and Joomla 5 in version 2.1.0. The newer 2.2.x versions add Joomla 6 compatibility, but the changelog does not specifically mention Joomla 6 support for the Smart Search integration.

First, please make sure you are using the latest SP Simple Portfolio 2.2.1. Then try the following:

  1. Go to System → Plugins and search for Portfolio. Make sure the SP Simple Portfolio Smart Search/Finder plugin is enabled.
  2. Go to Components → Smart Search.
  3. Clear the existing index.
  4. Run Index again and allow it to finish completely.
  5. Search again for an exact SP Portfolio item title, such as “Tour of Britain.”

One important point: currently SP Simple Portfolio Smart Search mainly indexes the portfolio item title. Searching the full description/content has previously not been supported.

So, if “Tour of Britain” is part of the item title and it still does not appear after rebuilding the index, then this looks like an issue with the SP Simple Portfolio Smart Search integration under Joomla 6 and will need to be checked further.

Regarding searching only SP Portfolio items, Joomla Smart Search supports search filters/content maps. If SP Simple Portfolio appears as its own content type/map after indexing, a Smart Search filter can be created to limit the results to Portfolio items only. If it is not exposed as a separate content map, this cannot currently be configured directly through the standard Smart Search settings and would require a custom solution.

Please try the re-indexing steps above first and let us know whether “Tour of Britain” appears when searching by the exact item title.

Best regards

0
DE
Dan Ellmore
Accepted Answer
1 month ago #232068

Thank you thids has worked perfectly. Do I need to munally re-index the smart search index regularly or will it automatically update?

thanks

Dan

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 month ago #232071

Once the initial index has been rebuilt, Joomla normally keeps the index updated when content is created, edited, published/unpublished, or deleted. For this to work, make sure the Content – Smart Search plugin remains enabled; Joomla specifically notes that content changes will not update the Smart Search index if this plugin is disabled.

For SP Simple Portfolio, the same principle applies as long as its Finder/Smart Search integration is enabled and correctly responding to Joomla's content events.

You would normally only need to run Components → Smart Search → Index manually when you have, for example, migrated/upgraded the site, installed or updated the search integration, cleared the Smart Search index, or noticed that existing Portfolio items are missing. Joomla's documentation treats running the Indexer as the step for building/rebuilding that index.

So, since your search is working correctly now, you can leave it alone. As a quick test, create a temporary SP Portfolio item with a unique title, save/publish it, and search for it. If it appears without manually indexing, automatic updating is working correctly.

0
DE
Dan Ellmore
Accepted Answer
1 month ago #232092

Thanks, eachday we create 4 or 5 new items in Simple Portfolio - so I input the title from one of todays new items and it was 'not found' by search.

We have both plugins for smart search and portfolio smart search enabled.

Dan

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 month ago #232096

Hi,

One thing I want to add is, when you have to add new content or any content update in that case, you have to re-index, only in that case, it will not auto index.

Thank you.

0
DE
Dan Ellmore
Accepted Answer
1 month ago #232097

OK thank you

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 1 month ago #232295

You are always welcome and thanks for accepting the answer.

0