The search indexer returns a mysql error

More
11 years 2 months ago #40030 by hede
After hitting the button "Re-Index Basic (Content Lists)" I get this error and the index table is empty:

21900 / 21900 items You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END WHERE item_id IN ()' at line 1 SQL=UPDATE ___flexicontent_items_ext SET search_index = CASE item_id END WHERE item_id IN () [180.26 secs] , INDEXING FINISHED. You may close this window

How would I correct this error?

Cheers

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #40034 by ggppdk
Hello,

backup , update to r1742a and send me a PM with super admin login

i see that you have 21,000 items ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #40057 by hede
I updated and sent you the credentials.

Yes, I have 21900 items (which are only dummies right now but will be real data soon).

The Advanced Indexer is doing okay, but the Basic one gives that error.

cheers

PS: the indexer displays the time taken to index, that time is highly incorrect, it definitely does not count seconds

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #40101 by ggppdk
Hello

the indexer does count seconds,
seconds of execution time

if indexer run via a single run and not via multiple AJAX calls the it would take that amount of time to complete,

e.g. it would take 180 seconds, but with multiple AJAX calls you may end up spending 400 more seconds in network delay to send AJAX request + get AJAX response + some small time to indexer display inside the browser

About error, the very last AJAX run of indexer, runs with ZERO items because you have exactly 21900 items a check needs to be added for this


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #40102 by hede
Thanks for the explanation. Where do I switch the indexer to not use AJAX and therefore be faster?

FF on Win10, FLEXIcontent version 3.0.10 on Joomla 3.4

Please Log in or Create an account to join the conversation.

More
11 years 2 months ago #40105 by ggppdk
Hello,

no just maybe we will add a parameter to configure a larger step,

and also add a descriptions about seconds to denote what it is


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.468 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline