[Skip to main content](#vessel-content)

#   Smart Search Index Issues when using Smart Search - HikaShop Products

##

- **[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")**
- [![mojooutdoors-holden's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile") Topic Author
- [ Offline](/forum/user/12526-mojooutdoors-holden)

Less More

- Posts: 303
- Thank you received: 18
-
-

3 years 6 months ago [\#351199](#351199) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#351199 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")* was created by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")*

-- HikaShop version -- : 4.7.2
-- Joomla version -- : 4.3.0
-- PHP version -- : 8.1

When I run the indexer with "Smart Search - HikaShop Products" turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):
Code:

An Error Has Occurred The following message was returned by the server: A parse error has occurred while processing the following JSON data: Unexpected token '&lt;', "&lt;br /&gt; &lt;b&gt;"... is not valid JSON

[ ![2023-04-2123&#95;13&#95;34-SmartSearch&#95;IndexedContent.png](/forum/attachment/56959) ](/forum/attachment/56959 "...xedContent.png")

If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:

[ ![index&#95;working&#95;without&#95;hikashop&#95;products&#95;smart&#95;search.png](/forum/attachment/56958) ](/forum/attachment/56958 "...art&#95;search.png")

From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.

Let me know if you need any additional information or backend access.

- [ ![index&#95;working&#95;without&#95;hikashop&#95;products&#95;smart&#95;search.png](/forum/attachment/56958) ](/forum/attachment/56958 "...art&#95;search.png") [ ](/forum/attachment/56958?download=1 "...art&#95;search.png")
- [ ![2023-04-2123&#95;13&#95;34-SmartSearch&#95;IndexedContent.png](/forum/attachment/56959) ](/forum/attachment/56959 "...xedContent.png") [ ](/forum/attachment/56959?download=1 "...xedContent.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

3 years 6 months ago [\#351204](#351204) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#351204 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Hi,

What you're describing indeed seems to mean that you've selected some columns containing invalid text.
The error is not complete. Could you please look in the PHP error log of your hosting for the error message ? You should find the rest of the error, which should point at the file and line number where the problem is happening. That should help us move forward. Also, we'll probably need a backend and a FTP access in order to investigate.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")**
- [![mojooutdoors-holden's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile") Topic Author
- [ Offline](/forum/user/12526-mojooutdoors-holden)

Less More

- Posts: 303
- Thank you received: 18
-
-

3 years 6 months ago [\#351214](#351214) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#351214 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

I think I located at least most of the issue. From the php error logs, I saw many deprecation warnings for Joomla Works "All Videos" plugin. My only guess that there is some product on our site that still has shortcode for AllVideos plugin.
Code:

mod_fcgid: stderr: PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in ###/plugins/content/jw_allvideos/jw_allvideos.php on line 81, referer: ###/administrator/index.php?option=com_finder&amp;view=indexer&amp;tmpl=component mod_fcgid: stderr: PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array&#124;string is deprecated in ###/plugins/content/jw_allvideos/jw_allvideos.php on line 157, referer: ###/administrator/index.php?option=com_finder&amp;view=indexer&amp;tmpl=component

I patched that plugin by checking for nulls, and the errors are gone and indexing is running to completion.

I have 2 somewhat related questions:

1. is it normal for products with no titles to be indexed? I'm not even clear where these are coming from as the links they point to are dead.
2. are categories indexed with this smart search plugin?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

3 years 6 months ago [\#351215](#351215) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#351215 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Hi,

1. The plugin doesn't check that the name of the product is filled when the indexing requests the list of products to be indexed. So it's totally possible that products without names are indexed.
Could you provide the link of one of these products ? It should contain the product_id or the product_alias in the URL. From there, it should be possible to search for it in the backend products listing.

2. Categories are not indexed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")**
- [![mojooutdoors-holden's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile") Topic Author
- [ Offline](/forum/user/12526-mojooutdoors-holden)

Less More

- Posts: 303
- Thank you received: 18
-
-

3 years 6 months ago [\#351241](#351241) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#351241 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

I checked for the product IDs listed in the index, but for the ones without a title, most do not have a product entry (checked trashed as well):

[ ![2023-04-2411&#95;36&#95;35-SmartSearch&#95;IndexedContent.png](/forum/attachment/56965) ](/forum/attachment/56965 "...xedContent.png")

However, after spot checking some of the links, some of them point to the raw product page (no parent category). For the others that don't exist, I checked through some really old backups, and these correspond to products that no longer exist (deleted from the backend). I guess it might be possible if there's some issue with the DB still retaining these old, deleted products?

- [ ![2023-04-2411&#95;36&#95;35-SmartSearch&#95;IndexedContent.png](/forum/attachment/56965) ](/forum/attachment/56965 "...xedContent.png") [ ](/forum/attachment/56965?download=1 "...xedContent.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

3 years 6 months ago [\#351243](#351243) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#351243 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Hi,

Indeed. Products indexed and deleted before installing HikaShop HikaShop 4.4.1 or newer would be left in the index.
Before that, products being deleted wouldn't trigger the smart search system.
So you can just delete these old entries.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")**
- [![mojooutdoors-holden's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile") Topic Author
- [ Offline](/forum/user/12526-mojooutdoors-holden)

Less More

- Posts: 303
- Thank you received: 18
-
-

3 years 6 months ago [\#351252](#351252) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#351252 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Index in this context would be indexing on Hikashop database side? I have cleared the smart search index multiple times and they still show up.

It seems like they might be rogue products that were deleted but still show in the products DB table.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

3 years 5 months ago [\#351254](#351254) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#351254 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Hi,

If the products are deleted, they can't be indexed.
If they are reindexed, it means they are still there and not deleted.
Please provide a backend access and we can look at the situation.
[ www.hikashop.com/support/contact-us.html](https://www.hikashop.com/support/contact-us.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")**
- [![mojooutdoors-holden's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile") Topic Author
- [ Offline](/forum/user/12526-mojooutdoors-holden)

Less More

- Posts: 303
- Thank you received: 18
-
-

3 years 5 months ago [\#351275](#351275) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#351275 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Ah, I see why I could not find them on the backend. After querying the DB for the product IDs in question, I figured out that they are variants, which I typically don't assign product names to (uses the main product for the name and images).

I guess I will either add names to these variants or just delete those index entries.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

3 years 5 months ago [\#351282](#351282) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#351282 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Hi,

Ok. That makes sense.
On our end, I've made a patch in HikaShop to properly fill the name parameter in the URL even when indexing variants.
That way, it should mean it can still index variants (if you set different descriptions for each for example), while generating a valid link.

The following user(s) said Thank You: [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[fian](/forum/user/77431-fian "View fian's Profile")**
- [![fian's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/77431-fian "View fian's Profile")
- [ Offline](/forum/user/77431-fian)

Less More

- Posts: 2
- Thank you received: 0
-
-

3 years 3 months ago [\#353329](#353329) by [fian](/forum/user/77431-fian "View fian's Profile")  Replied by *[fian](/forum/user/77431-fian "View fian's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#353329 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Hi,

I have same issue, is  [ ![Screenshot2023-07-12173951.png](/forum/attachment/57367) ](/forum/attachment/57367 "...7-12173951.png")

very stressing...if have any suggestion to fix it will be appreciated.

Fien

- [ ![Screenshot2023-07-12173951.png](/forum/attachment/57367) ](/forum/attachment/57367 "...7-12173951.png") [ ](/forum/attachment/57367?download=1 "...7-12173951.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

3 years 3 months ago [\#353331](#353331) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#353331 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Hi,

The fix is already in HikaShop. So if you have an old version of HikaShop, update it.
Then, click on the "index" button of the Smart Search component in the backend to reindex everything and it should be good.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[fian](/forum/user/77431-fian "View fian's Profile")**
- [![fian's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/77431-fian "View fian's Profile")
- [ Offline](/forum/user/77431-fian)

Less More

- Posts: 2
- Thank you received: 0
-
-

3 years 3 months ago [\#353344](#353344) by [fian](/forum/user/77431-fian "View fian's Profile")  Replied by *[fian](/forum/user/77431-fian "View fian's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#353344 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Hi Nicolas,

Thank you for your updated, well.. currently my website has Chinese &amp; Japanese version, so that why I have updated my Hikashop to be paid version to have smart search services indexing my all-product category, Thanks again &amp; lets looks forward the next updated in September.

regards,
Fien

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")**
- [![mojooutdoors-holden's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile") Topic Author
- [ Offline](/forum/user/12526-mojooutdoors-holden)

Less More

- Posts: 303
- Thank you received: 18
-
-

3 years 1 month ago -  3 years 1 month ago [\#355307](#355307) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#355307 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

With the push for smart search (finder) as default in J4, are there plans of deprecating the existing hikashop search plugins?

Odd behavior I found:

1. If I unpublish all of the pkg\_search plugins and package (i.e., smart search only), i don't see the hikashop content indexed.
2. If I unpublish the search plugin for hikashop categories, i don't see the category entries in smart search.
3. links displayed in search results are no longer canonical links and are instead basic product links with no category attached.

Last edit: 3 years 1 month ago by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

3 years 4 weeks ago [\#355325](#355325) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#355325 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Hi,

1. and 2. The plugins of the group "search" are not related to the smart search. Disabling them won't change anything for the indexing of the smart search. Please double check.
Note that categories are not indexed by the smart search. Only the products are indexed.
And the smart search system won't take into account the search results of the plugins of the group "search".
It will only take into account the data indexed thanks to the plugins of the group "finder".

3. That's indeed the case. Due to how the smart search works, the link to the product page needs to be provided by the finder plugin during the indexing in a non SEFed format. So we cannot provide the canonical URL at that point. I didn't find a way to change this.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")**
- [![mojooutdoors-holden's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile") Topic Author
- [ Offline](/forum/user/12526-mojooutdoors-holden)

Less More

- Posts: 303
- Thank you received: 18
-
-

3 years 4 weeks ago [\#355357](#355357) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#355357 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

It's a shame the canonical can't be used and that the categories are not indexed. The search results show products that appear to be in root category instead of their actual category.

Since the product_canonical can be set as an index in the hikashop smart search plugin, perhaps finder just needs an override to disolay this custom field if available instead of non-SEF url?

Also, I will try disabling the search type plugins again to see if hikashop is indexed properly.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

3 years 4 weeks ago [\#355361](#355361) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#355361 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Hi,

With a view override of the search results page of the smart search component, you could indeed have it use the canonical URL when available. It would require running a MySQL query to load up the data from the database.
Now, that's not something we can implement as a clean solution on our end. View overrides are supposed to be either:
- provided by the template
- made by the end user for his specific needs
Components are not supposed to create view overrides for other components.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")**
- [![mojooutdoors-holden's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile") Topic Author
- [ Offline](/forum/user/12526-mojooutdoors-holden)

Less More

- Posts: 303
- Thank you received: 18
-
-

3 years 4 weeks ago [\#355370](#355370) by [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")  Replied by *[mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#355370 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Thanks for the explanation. Makes sense.

Last question. I understand categories themselves are not indexed, but there's a setting in the finder plugin for hikashop called "index products by category". I would think this would yield non-SEF product links with the category id appended to the URL. However, with that option enabled, i still only see the product SEF without category specified. Am i misunderstanding what that setting means?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

3 years 3 weeks ago [\#355441](#355441) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Smart Search Index Issues when using Smart Search - HikaShop Products](/forum/30-integrations/906299-smart-search-index-issues-when-using-smart-search-hikashop-products#355441 "-- HikaShop version -- : 4.7.2 -- Joomla version -- : 4.3.0 -- PHP version -- : 8.1  When I run the indexer with &quot;Smart Search - HikaShop Products&quot; turned on, I receive a JSON error that stops the indexing. Some products are indexed, but not all (all other joomla content isn't indexed either since it is indexed AFTER hikashop content):  If I disable this plugin and run the indexer, no errors and all other Joomla content is indexed properly:  From the JSON parse error, it would seem like something isn't being sanitized properly. I have tried changing the columns that should be indexed and toggling the index by category or not. No luck.  Let me know if you need any additional information or backend access.")*

Hi,

This option will allow you to display a filter dropdown on the categories in the smart search page on the frontend.
It has nothing to do with the URL of the search results.

The following user(s) said Thank You: [mojooutdoors-holden](/forum/user/12526-mojooutdoors-holden "View mojooutdoors-holden's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2ludGVncmF0aW9ucy85MDYyOTktc21hcnQtc2VhcmNoLWluZGV4LWlzc3Vlcy13aGVuLXVzaW5nLXNtYXJ0LXNlYXJjaC1oaWthc2hvcC1wcm9kdWN0cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.570 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
