Forum Replies Created
- kuangli0409Participant4 years ago in reply to: cannot build index #18707
Thank you for solving my problem. Is it possible to let all product’s content not searchable?
kuangli0409Participant4 years ago in reply to: cannot build index #18706OK. Let me try it. Thank you!
kuangli0409Participant4 years ago in reply to: cannot build index #18704When index contents to Algolia, it shows the error message as above. In the first line, the problems occurs at first line “184073,184086”, which you asked me what it was, are the search pages which WPSolr generate. And the last four lines are
“modified_ds_i”: 14, “comments”: [], “numcomments”: 0, “categories_str”: [], “categories_t”: [], “flat_hierarchy_categories_str”: [], “non_flat_hierarchy_categories_str”: [], “tags”: [], “tags_t”: [], “categories”: [] }</b><br><br>{“nb_results”:0,”status”:0,”message”:”(Algolia) "Record at the position 0 objectID=378 is too big size=14942 bytes. Contact us if you need an extended quota"\n”,”indexing_complete”:false}
The contents in this error message are related to search page. So it is weird for me.
(In the first error message, there is only 184073, which you ask me what it is. This is mydomain/search-wpslr). I don’t know if this is true, so let WPSolr generate another search page, then that is 184086, which occurs in the error message again.)kuangli0409Participant4 years ago in reply to: cannot build index #18699Yes, I did. But this search page really causes the problem.
I try to use new slug to create a new search page, then
Posts excluded from the index:<br><b>184073,184086</b><br><br>******** DEBUG ACTIVATED – Beginning of new loop (batch size) *******<br><br>******** DEBUG ACTIVATED – Query documents from last post date *******<br><br>Query:<br><b>SELECT ID, post_modified, post_parent, post_type FROM wpyuepu_posts AS A WHERE ((post_modified = ‘2020-03-18 01:32:57’ AND ID > 390) OR (post_modified > ‘2020-03-18 01:32:57’)) AND ( post_status IN (‘publish’) AND ( post_type = ‘product’ ) ) AND ID NOT IN (184073,184086) ORDER BY post_modified ASC, ID ASC LIMIT 1</b><br><br>Last post date:<br><b>2020-03-18 01:32:57</b><br><br>Last post ID:<br><b>390</b><br><br>Post to be sent:<br><b>{ “id”: 378, “PID”: 378, “type”: “product”, “meta_type_s”: “post_type”, “displaymodified”: “2020-03-18T01:42:14Z”, “title”: “\u5b8c\u5168\u97f3
——————————–
id: 184073 and 184086 are both search page (mydomain/search-wpsolr and mydomain/searhwp)However, both pages are “页面 are not indexable. You can change that in wpsolr settings.”
So I don’t know how to avoid passing this page’s information to Algolia.
kuangli0409Participant4 years ago in reply to: cannot build index #18697But what caused Algolia exceeds quota is the page which WPSolr generated. How to avoid it? Thx
kuangli0409Participant4 years ago in reply to: cannot build index #18694Yes, I uncheck already. But it exceeds quota still. Or, can I remove all Taxonomies first, after index done, then click Taxonomies?
However, this way can help me to index the current products. However, when I add products in the future, I think new products may have the same problem. Besides, I notice that in the Algolia, almost all contents have three copy (in different language, something like this. However, I have only one language. I don’t use WPML or any similar plugins. The only translate plugin is GTranslate, which will not create this new term.
kuangli0409Participant4 years ago in reply to: cannot build index #18692OK. Now I found that, the exceeding quota is not caused by products, or contents, but is caused by search page which WPSolr generated.
184073 is my search page generated by WPSolr. Is it possible not sending this page to Algolia?
———
Error code: parsererror
Error message: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
{“nb_results”:0,”status”:0,”message”:”(Algolia) “Record at the position 0 objectID=378 is too big size=16647 bytes. Contact us if you need an extended quota”\n”,”indexing_complete”:false}
kuangli0409Participant4 years ago in reply to: cannot build index #18691OK. Now, I restrict my search item (product only, nothing else), it seems it works now. But when sending index to Algolia, it seems it is easily to exceed quota (even though I set document to 1).
(Algolia) “Record at the position 0 objectID=378 is too big size=16881 bytes. Contact us if you need an extended quota”
Is it possible for me to send part of information (such as title and contents only), when success, then add custom field then click index? Does it work to those indexes already existed in Algolia?
Thx
kuangli0409Participant4 years ago in reply to: cannot build index #18688I use Algolia’s plugin. However, it is limited, which can not search for tabs (my major requirement). And it has very limited options. So that is why I wanna use WPSolr+Algolia. (I need very strong synonym search engine, this is the major reason why I need Algolia. But there are very few Algolia-related plugins for wordpress.
kuangli0409Participant4 years ago in reply to: cannot build index #18686This is what WPSolr-search created.
https://buy.laimaipu.com/search-wpsolr/
I check algolia, there are no record, no logs, no operation changed.
kuangli0409Participant4 years ago in reply to: cannot build index #18684The error message is as follows. (however, the snippet is enable, but doesn’t show any error message about snippet)
An error or timeout occured.
Error code: parsererror
Error message: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Posts excluded from the index:<br><b>184073</b><br><br>******** DEBUG ACTIVATED – Beginning of new loop (batch size) *******<br><br>******** DEBUG ACTIVATED – Query documents from last post date *******<br><br>Query:<br><b>SELECT ID, post_modified, post_parent, post_type FROM wpyuepu_posts AS A WHERE ((post_modified = ‘2020-03-14 17:34:50’ AND ID > 176687) OR (post_modified > ‘2020-03-14 17:34:50’)) AND ( post_status IN (‘publish’) AND ( post_type = ‘product’ ) ) AND ID NOT IN (184073) ORDER BY post_modified ASC, ID ASC LIMIT 1</b><br><br>Last post date:<br><b>2020-03-14 17:34:50</b><br><br>Last post ID:<br><b>176687</b><br><br>Post to be sent:<br><b>{ “id”: 109242, “PID”: 109242, “type”: “product”, “meta_type_s”: “post_type”, “displaymodified”: “2020-03-14T17:35:14Z”, “title”: “\u97e9\u71d5\u73b2: \u9ad8\u8003\u97f3\u4e50\u5f3a\u5316\u8bad\u7ec3 \u8282\u594f\u8bad\u7ec3\u4e0e\u65cb\u5f8b\u542c\u5199\uff08\u6e56\u5357\u6587\u827a\u51fa\u7248\u793e\uff09”, “title_s”: “\u97e9\u71d5\u73b2: \u9ad8\u8003\u97f3\u4e50\u5f3a\u5316\u8bad\u7ec3 \u8282\u594f\u8bad\u7ec3\u4e0e\u65cb\u5f8b\u542c\u5199\uff08\u6e56\u5357\u6587\u827a\u51fa\u7248\u793e\uff09”, “permalink”: “https:\/\/buy.laimaipu.com\/product\/%e6%b9%96%e5%8d%97%e6%96%87%e8%89%ba%e5%87%ba%e7%89%88%e7%a4%be-%e9%ab%98%e8%80%83%e9%9f%b3%e4%b9%90%e5%bc%ba%e5%8c%96%e8%ae%ad%e7%bb%83-%e8%8a%82%e5%a5%8f%e8%ae%ad%e7%bb%83%e4%b8%8e%e6%97%8b\/”, “post_status_s”: “publish”, “content”: “\u559c\u6b22\u6e56\u5357\u6587\u827a\u51fa\u7248\u793e\u7684\u9ad8\u8003\u7cfb\u5217\u4e1b\u4e66\u7684\u8001\u5e08\uff0c\u8fd9\u672c\u8282\u594f\u8bad\u7ec3\u4e0e\u65cb\u5f8b\u542c\u5199\u4e5f\u662f\u5f88\u503c\u5f97\u53c2\u8003\u7684\u3002 simple. \u975e\u8fdb\u53e3\u4e66\u85c9. \u4e00\u822c85. \u542c\u529b\u8bad\u7ec3. \u8282\u594f\u8bad\u7ec3. \u97e9\u71d5\u73b2. \u9ad8\u6821\u6559\u6750. \u534a\u4e13\u4e1a\u4eba\u58eb. \u4e13\u4e1a\u4e66\u85c9. \u4e2d\u6587\ufe63\u539f\u8457. 153. \u6e56\u5357\u6587\u827a\u51fa\u7248\u793e”, “snippet_s”: “\u559c\u6b22\u6e56\u5357\u6587\u827a\u51fa\u7248\u793e\u7684\u9ad8\u8003\u7cfb\u5217\u4e1b\u4e66\u7684\u8001\u5e08\uff0c\u8fd9\u672c\u8282\u594f\u8bad\u7ec3\u4e0e\u65cb\u5f8b\u542c\u5199\u4e5f\u662f?”, “post_author_s”: “2”, “author”: “thinkmusic”, “menu_order_i”: 0, “PID_i”: 109242, “author_s”: “https:\/\/buy.laimaipu.com\/author\/thinkmusic\/”, “displaydate”: “2019-01-11T19:58:32Z”, “displaydate_dt”: “2019-01-11T19:58:32Z”, “date”: “2019-01-11T11:58:32Z”, “displaymodified_dt”: “2020-03-14T17:35:14Z”, “modified”: “2020-03-14T09:35:14Z”, “displaymodified_dt_i”: 1584207314, “displaymodified_dt_y_i”: 2020, “displaymodified_dt_ym_i”: 3, “displaymodified_dt_yw_i”: 11, “displaymodified_dt_yd_i”: 74, “displaymodified_dt_md_i”: 14, “displaymodified_dt_wd_i”: 7, “displaymodified_dt_dh_i”: 17, “displaymodified_dt_dm_i”: 35, “displaymodified_dt_ds_i”: 14, “displaydate_dt_i”: 1547236712, “displaydate_dt_y_i”: 2019, “displaydate_dt_ym_i”: 1, “displaydate_dt_yw_i”: 2, “displaydate_dt_yd_i”: 11, “displaydate_dt_md_i”: 11, “displaydate_dt_wd_i”: 6, “displaydate_dt_dh_i”: 19, “displaydate_dt_dm_i”: 58, “displaydate_dt_ds_i”: 32, “date_i”: 1547207912, “date_y_i”: 2019, “date_ym_i”: 1, “date_yw_i”: 2, “date_yd_i”: 11, “date_md_i”: 11, “date_wd_i”: 6, “date_dh_i”: 11, “date_dm_i”: 58, “date_ds_i”: 32, “displaydate_i”: 1547236712, “displaydate_y_i”: 2019, “displaydate_ym_i”: 1, “displaydate_yw_i”: 2, “displaydate_yd_i”: 11, “displaydate_md_i”: 11, “displaydate_wd_i”: 6, “displaydate_dh_i”: 19, “displaydate_dm_i”: 58, “displaydate_ds_i”: 32, “modified_i”: 1584178514, “modified_y_i”: 2020, “modified_ym_i”: 3, “modified_yw_i”: 11, “modified_yd_i”: 74, “modified_md_i”: 14, “modified_wd_i”: 7, “modified_dh_i”: 9, “modified_dm_i”: 35, “modified_ds_i”: 14, “comments”: [], “numcomments”: 0, “categories_str”: [], “categories_t”: [], “flat_hierarchy_categories_str”: [], “non_flat_hierarchy_categories_str”: [], “tags”: [], “tags_t”: [], “product_type_str”: [ “simple” ], “product_type_t”: [ “simple” ], “flat_hierarchy_product_type_str”: [ “simple” ], “non_flat_hierarchy_product_type_str”: [ “simple” ], “product_cat_str”: [ “\u975e\u8fdb\u53e3\u4e66\u85c9” ], “product_cat_t”: [ “\u975e\u8fdb\u53e3\u4e66\u85c9” ], “flat_hierarchy_product_cat_str”: [ “\u4e50\u8c31\u6216\u4e66\u85c9->\u975e\u8fdb\u53e3\u4e66\u85c9” ], “non_flat_hierarchy_product_cat_str”: [ “\u4e50\u8c31\u6216\u4e66\u85c9”, “\u975e\u8fdb\u53e3\u4e66\u85c9” ], “product_tag_str”: [ “\u4e00\u822c85” ], “product_tag_t”: [ “\u4e00\u822c85” ], “flat_hierarchy_product_tag_str”: [ “\u4e00\u822c85” ], “non_flat_hierarchy_product_tag_str”: [ “\u4e00\u822c85” ], “pa_booktype_str”: [ “\u542c\u529b\u8bad\u7ec3”, “\u8282\u594f\u8bad\u7ec3” ], “pa_booktype_t”: [ “\u542c\u529b\u8bad\u7ec3”, “\u8282\u594f\u8bad\u7ec3” ], “flat_hierarchy_pa_booktype_str”: [ “\u542c\u529b\u8bad\u7ec3”, “\u8282\u594f\u8bad\u7ec3” ], “non_flat_hierarchy_pa_booktype_str”: [ “\u542c\u529b\u8bad\u7ec3”, “\u8282\u594f\u8bad\u7ec3” ], “pa_composer_str”: [ “\u97e9\u71d5\u73b2” ], “pa_composer_t”: [ “\u97e9\u71d5\u73b2” ], “flat_hierarchy_pa_composer_str”: [ “\u97e9\u71d5\u73b2” ], “non_flat_hierarchy_pa_composer_str”: [ “\u97e9\u71d5\u73b2” ], “pa_exam_str”: [ “\u9ad8\u6821\u6559\u6750” ], “pa_exam_t”: [ “\u9ad8\u6821\u6559\u6750” ], “flat_hierarchy_pa_exam_str”: [ “\u9ad8\u6821\u6559\u6750” ], “non_flat_hierarchy_pa_exam_str”: [ “\u9ad8\u6821\u6559\u6750” ], “pa_group_str”: [ “\u534a\u4e13\u4e1a\u4eba\u58eb”, “\u4e13\u4e1a\u4e66\u85c9” ], “flat_hierarchy_pa_group_str”: [ “\u534a\u4e13\u4e1a\u4eba\u58eb”, “\u4e13\u4e1a\u4e66\u85c9” ], “non_flat_hierarchy_pa_group_str”: [ “\u534a\u4e13\u4e1a\u4eba\u58eb”, “\u4e13\u4e1a\u4e66\u85c9” ], “pa_language_str”: [ “\u4e2d\u6587\ufe63\u539f\u8457” ], “pa_language_t”: [ “\u4e2d\u6587\ufe63\u539f\u8457” ], “flat_hierarchy_pa_language_str”: [ “\u4e2d\u6587\ufe63\u539f\u8457” ], “non_flat_hierarchy_pa_language_str”: [ “\u4e2d\u6587\ufe63\u539f\u8457” ], “pa_pager_str”: [ “153” ], “flat_hierarchy_pa_pager_str”: [ “153” ], “non_flat_hierarchy_pa_pager_str”: [ “153” ], “pa_press_str”: [ “\u6e56\u5357\u6587\u827a\u51fa\u7248\u793e” ], “pa_press_t”: [ “\u6e56\u5357\u6587\u827a\u51fa\u7248\u793e” ], “flat_hierarchy_pa_press_str”: [ “\u6e56\u5357\u6587\u827a\u51fa\u7248\u793e” ], “non_flat_hierarchy_pa_press_str”: [ “\u6e56\u5357\u6587\u827a\u51fa\u7248\u793e” ], “categories”: [ “simple”, “\u975e\u8fdb\u53e3\u4e66\u85c9”, “\u4e00\u822c85”, “\u542c\u529b\u8bad\u7ec3”, “\u8282\u594f\u8bad\u7ec3”, “\u97e9\u71d5\u73b2”, “\u9ad8\u6821\u6559\u6750”, “\u534a\u4e13\u4e1a\u4eba\u58eb”, “\u4e13\u4e1a\u4e66\u85c9”, “\u4e2d\u6587\ufe63\u539f\u8457”, “153”, “\u6e56\u5357\u6587\u827a\u51fa\u7248\u793e” ], “_global_tab_183481_content_str”: [] }</b><br><br>{“nb_results”:0,”status”:0,”message”:”(Algolia) "json_encode error: Malformed UTF-8 characters, possibly incorrectly encoded"\n”,”indexing_complete”:false}
kuangli0409Participant4 years ago in reply to: cannot build index #18681php version is: 7.3.12
If I disable snippet, then it shows
An error or timeout occured.
Error code: parsererror
Error message: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
(removed)
===========================
something like this for thousand lines.- This reply was modified 4 years ago by wpsolr.
kuangli0409Participant4 years ago in reply to: cannot build index #18679well. In fact I don’t know how to solve it. Snippet is a very common plugin. And even if I disable it, there are so many paring error so I cannot built any index. And idea?
kuangli0409Participant4 years, 1 month ago in reply to: how to have a trial #18672OK. But can it work with custom tabs? (the contents can be searched by some plugins, such as SewarchWP)