Support » Plugin: WPSOLR - Elasticsearch and Solr search » Cannot Index error: parseerror

  • It seems this type of support problem comes up frequently, it would be great if it didn’t kill indexing but would set aside the failed post and notify the admin so they can view it. I am not entirely sure what the problem is here it says unexpected identifier “posts” but “posts” doesn’t even show up in the article.

    An error or timeout occured.

    Error code: parsererror

    Error message: SyntaxError: JSON Parse error: Unexpected identifier “Posts”

    Posts excluded from the index:<br><b></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 wp_posts AS posts WHERE ((post_modified = %s AND ID > %d) OR (post_modified > %s)) AND ( post_status IN (‘publish’) AND ( post_type = ‘book’ ) ) ORDER BY post_modified ASC, ID ASC LIMIT 1</b><br><br>Last post date:<br><b>2018-01-20 03:19:33</b><br><br>Last post ID:<br><b>45201</b><br><br>Post to be sent:<br><b>{ “id”: 45202, “PID”: 45202, “title”: “Heaven’s Sinners”, “post_status_s”: “publish”, “content”: “Spike knows tragedy, and he knows that feelings are better left hidden. He refuses to put his heart out there again, it’s a pain he’s not willing to feel a second time around. He’s accepted he’s going to spend forever alone. That’s all he deserves. \nBut then there’s Ciara, the sister of his deceased wife. She’s beautiful and damned determined to throw herself into his life in hopes they can reform an old friendship. But Spike won’t hear of it, and Ciara refuses to give up. \nWho will win the battle of wills? \n** Audible Studios. Bella Jewel. Carly Robins. B0108P0NF8. dd09b5d6-ad42-4f5d-91f1-1d9a6636a870. . Contemporary. Romance. Rom\u00e1ntica. english. 1970-01-01T00:00:00Z”, “author”: “teamcoltra”, “author_s”: “http:\/\/wordpress.ebook.bike\/author\/teamcoltra\/”, “type”: “book”, “date”: “2018-01-20T03:19:33Z”, “modified”: “2018-01-20T03:19:33Z”, “displaydate”: “2018-01-20T03:19:33Z”, “displaydate_dt”: “2018-01-20T03:19:33Z”, “displaymodified”: “2018-01-20T03:19:33Z”, “displaymodified_dt”: “2018-01-20T03:19:33Z”, “permalink”: “http:\/\/wordpress.ebook.bike\/book\/heavens-sinners\/”, “comments”: [], “numcomments”: 0, “categories_str”: [], “categories”: [ “Audible Studios”, “Bella Jewel”, “Carly Robins”, “B0108P0NF8”, “dd09b5d6-ad42-4f5d-91f1-1d9a6636a870”, “”, “Contemporary”, “Romance”, “Rom\u00e1ntica”, “english”, “1970-01-01T00:00:00Z” ], “flat_hierarchy_categories_str”: [], “non_flat_hierarchy_categories_str”: [], “tags”: [], “book_author_str”: [ “Audible Studios”, “Bella Jewel”, “Carly Robins” ], “flat_hierarchy_book_author_str”: [ “Audible Studios”, “Bella Jewel”, “Carly Robins” ], “non_flat_hierarchy_book_author_str”: [ “Audible Studios”, “Bella Jewel”, “Carly Robins” ], “book_id_str”: [ “B0108P0NF8”, “dd09b5d6-ad42-4f5d-91f1-1d9a6636a870” ], “flat_hierarchy_book_id_str”: [ “B0108P0NF8”, “dd09b5d6-ad42-4f5d-91f1-1d9a6636a870” ], “non_flat_hierarchy_book_id_str”: [ “B0108P0NF8”, “dd09b5d6-ad42-4f5d-91f1-1d9a6636a870” ], “book_tag_str”: [ “”, “Contemporary”, “Romance”, “Rom\u00e1ntica” ], “flat_hierarchy_book_tag_str”: [ “”, “Contemporary”, “Romance”, “Rom\u00e1ntica” ], “non_flat_hierarchy_book_tag_str”: [ “”, “Contemporary”, “Romance”, “Rom\u00e1ntica” ], “book_language_str”: [ “english” ], “book_publish_date_dt”: [ “1970-01-01T00:00:00Z” ], “book_publish_date_str”: [ “1970-01-01T00:00:00Z” ], “book_series_str”: [] }</b><br><br>{“nb_results”:0,”status”:0,”message”:”Error in one or more bulk request actions:\n\nindex: \/ebookbike\/wpsolr_types\/45202 caused failed to parse\n”,”indexing_complete”:false}

    Posts excluded from the index:

    ******** DEBUG ACTIVATED – Beginning of new loop (batch size) *******

    ******** DEBUG ACTIVATED – Query documents from last post date *******

    Query:
    SELECT ID, post_modified, post_parent, post_type FROM wp_posts AS posts WHERE ((post_modified = %s AND ID > %d) OR (post_modified > %s)) AND ( post_status IN (‘publish’) AND ( post_type = ‘book’ ) ) ORDER BY post_modified ASC, ID ASC LIMIT 1

    Last post date:
    2018-01-20 03:19:30

    Last post ID:
    45199

    Post to be sent:
    { “id”: 45200, “PID”: 45200, “title”: “Hard to Forget”, “post_status_s”: “publish”, “content”: “Delaney is a professional bodyguard who’s spent years trying to prove herself in a male dominated industry. Now she’s facing her greatest challenge yet. \nBad boy billionaire Jax Shields has made plenty of enemies on his climb to the top, and now his life is at risk. \nWhen he hires a bodyguard, he never expected to put his life in the hands of a petite woman with a big attitude. Jax demands the best in everything, and he doesn’t think Delaney has what it takes to protect him. He’d rather have her on her back than covering his. \nWill Delaney be able to prove herself to the most arrogant-and devastatingly handsome-man she’s ever met?\nThis book is a standalone that contains a HEA\n**About the Author\nPopular romance writer Bella Jewel is the author of the MC Sinners series. An Australian native, Bella calls Far North Queensland home. When not writing, she spends time swimming and having fun with her two daughters. She relishes her career as a writer and is constantly thinking of new book ideas. \nNo Bio Bella Jewel. 9781466891371. B00WRFUEJI. ce9b82f5-3746-4d8b-8150-87acc3313d07. DNixCAAAQBAJ. Contemporary. Fiction. Romance. suspense. english. 1970-01-01T00:00:00Z”, “author”: “teamcoltra”, “author_s”: “http:\/\/wordpress.ebook.bike\/author\/teamcoltra\/”, “type”: “book”, “date”: “2018-01-20T03:19:32Z”, “modified”: “2018-01-20T03:19:32Z”, “displaydate”: “2018-01-20T03:19:32Z”, “displaydate_dt”: “2018-01-20T03:19:32Z”, “displaymodified”: “2018-01-20T03:19:32Z”, “displaymodified_dt”: “2018-01-20T03:19:32Z”, “permalink”: “http:\/\/wordpress.ebook.bike\/book\/hard-to-forget-2\/”, “comments”: [], “numcomments”: 0, “categories_str”: [], “categories”: [ “Bella Jewel”, “9781466891371”, “B00WRFUEJI”, “ce9b82f5-3746-4d8b-8150-87acc3313d07”, “DNixCAAAQBAJ”, “Contemporary”, “Fiction”, “Romance”, “suspense”, “english”, “1970-01-01T00:00:00Z” ], “flat_hierarchy_categories_str”: [], “non_flat_hierarchy_categories_str”: [], “tags”: [], “book_author_str”: [ “Bella Jewel” ], “flat_hierarchy_book_author_str”: [ “Bella Jewel” ], “non_flat_hierarchy_book_author_str”: [ “Bella Jewel” ], “book_id_str”: [ “9781466891371”, “B00WRFUEJI”, “ce9b82f5-3746-4d8b-8150-87acc3313d07”, “DNixCAAAQBAJ” ], “flat_hierarchy_book_id_str”: [ “9781466891371”, “B00WRFUEJI”, “ce9b82f5-3746-4d8b-8150-87acc3313d07”, “DNixCAAAQBAJ” ], “non_flat_hierarchy_book_id_str”: [ “9781466891371”, “B00WRFUEJI”, “ce9b82f5-3746-4d8b-8150-87acc3313d07”, “DNixCAAAQBAJ” ], “book_tag_str”: [ “Contemporary”, “Fiction”, “Romance”, “suspense” ], “flat_hierarchy_book_tag_str”: [ “Contemporary”, “Fiction”, “Romance”, “suspense” ], “non_flat_hierarchy_book_tag_str”: [ “Contemporary”, “Fiction”, “Romance”, “suspense” ], “book_language_str”: [ “english” ], “book_publish_date_dt”: [ “1970-01-01T00:00:00Z” ], “book_publish_date_str”: [ “1970-01-01T00:00:00Z” ], “book_series_str”: [] }

    Posts excluded from the index:

    ******** DEBUG ACTIVATED – Beginning of new loop (batch size) *******

    ******** DEBUG ACTIVATED – Query documents from last post date *******

    Query:
    SELECT ID, post_modified, post_parent, post_type FROM wp_posts AS posts WHERE ((post_modified = %s AND ID > %d) OR (post_modified > %s)) AND ( post_status IN (‘publish’) AND ( post_type = ‘book’ ) ) ORDER BY post_modified ASC, ID ASC LIMIT 1

    Last post date:
    2018-01-20 03:19:32

    Last post ID:
    45200

    Post to be sent:
    { “id”: 45201, “PID”: 45201, “title”: “Hard to Fight”, “post_status_s”: “publish”, “content”: “Grace is a bounty hunter who wants to be taken seriously, but her boss refuses to believe that a woman can bring down a dangerous criminal. She finally gets a chance to prove herself when she’s given the case of a lifetime: capture Raide Knox and bring him to justice.\nRaide is a dangerous fugitive on the run…and the sexiest man Grace has ever met. Catching Raide won’t be easy. He’s not the kind of man to go down without a fight. Raide is more intense and frustrating than any man she’s ever had to deal with, and the instantaneous attraction that sparks between them is undeniable. One thing is for sure…it’s going to be a case they will never forget.\nHard To Fight is a full-length standalone romance with a HEA\n\”Funny, sassy and sexy, with an anti-hero you won’t soon forget!\” – New York Times and USA Today bestselling author Chantal Fernando\n**About the Author\nBella Jewel is a fun-loving Australian and a USA Today bestselling author. She’s been writing since she was fifteen, and after her success with her debut novel, Hell’s Knights, she has been creating new stories. She is the author of the MC Sinners series, Number Thirteen, and Enslaved by the Ocean. \nCarly Robins is an actress and voice-over artist. She can be heard on commercials, video games, and promos. Carly comes to narration with a passion for performance along with the capability to span several genres, from romance to children’s literature and thrillers. Bella Jewel. 9781466891357. a473c4a6-edef-4a74-98af-2708cd444a64. B00VE4Y2BE. Contemporary. Mystery & Suspense. Romance. Romantic Suspense. suspense. english. 1970-01-01T00:00:00Z”, “author”: “teamcoltra”, “author_s”: “http:\/\/wordpress.ebook.bike\/author\/teamcoltra\/”, “type”: “book”, “date”: “2018-01-20T03:19:33Z”, “modified”: “2018-01-20T03:19:33Z”, “displaydate”: “2018-01-20T03:19:33Z”, “displaydate_dt”: “2018-01-20T03:19:33Z”, “displaymodified”: “2018-01-20T03:19:33Z”, “displaymodified_dt”: “2018-01-20T03:19:33Z”, “permalink”: “http:\/\/wordpress.ebook.bike\/book\/hard-to-fight\/”, “comments”: [], “numcomments”: 0, “categories_str”: [], “categories”: [ “Bella Jewel”, “9781466891357”, “a473c4a6-edef-4a74-98af-2708cd444a64”, “B00VE4Y2BE”, “Contemporary”, “Mystery & Suspense”, “Romance”, “Romantic Suspense”, “suspense”, “english”, “1970-01-01T00:00:00Z” ], “flat_hierarchy_categories_str”: [], “non_flat_hierarchy_categories_str”: [], “tags”: [], “book_author_str”: [ “Bella Jewel” ], “flat_hierarchy_book_author_str”: [ “Bella Jewel” ], “non_flat_hierarchy_book_author_str”: [ “Bella Jewel” ], “book_id_str”: [ “9781466891357”, “a473c4a6-edef-4a74-98af-2708cd444a64”, “B00VE4Y2BE” ], “flat_hierarchy_book_id_str”: [ “9781466891357”, “a473c4a6-edef-4a74-98af-2708cd444a64”, “B00VE4Y2BE” ], “non_flat_hierarchy_book_id_str”: [ “9781466891357”, “a473c4a6-edef-4a74-98af-2708cd444a64”, “B00VE4Y2BE” ], “book_tag_str”: [ “Contemporary”, “Mystery & Suspense”, “Romance”, “Romantic Suspense”, “suspense” ], “flat_hierarchy_book_tag_str”: [ “Contemporary”, “Mystery & Suspense”, “Romance”, “Romantic Suspense”, “suspense” ], “non_flat_hierarchy_book_tag_str”: [ “Contemporary”, “Mystery & Suspense”, “Romance”, “Romantic Suspense”, “suspense” ], “book_language_str”: [ “english” ], “book_publish_date_dt”: [ “1970-01-01T00:00:00Z” ], “book_publish_date_str”: [ “1970-01-01T00:00:00Z” ], “book_series_str”: [] }

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter teamcoltra

    (@teamcoltra)

    It appears non-english characters might be the problem I removed tag “Romántica” and it worked.

    Thread Starter teamcoltra

    (@teamcoltra)

    Nevermind while Romantica caused the last one… this seems to not have any special characters at all but still triggering.

    Posts excluded from the index:<br><b></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 wp_posts AS posts WHERE ((post_modified = %s AND ID > %d) OR (post_modified > %s)) AND ( post_status IN (‘publish’) AND ( post_type = ‘book’ ) ) ORDER BY post_modified ASC, ID ASC LIMIT 1</b><br><br>Last post date:<br><b>2018-01-20 14:08:43</b><br><br>Last post ID:<br><b>84360</b><br><br>Post to be sent:<br><b>{ “id”: 84361, “PID”: 84361, “title”: “White is the coldest colour: A dark psychological suspense thriller”, “post_status_s”: “publish”, “content”: ” John Nicholl. 3261513177. . english. 4800-02-01T14:30:43Z”, “author”: “teamcoltra”, “author_s”: “http:\/\/wordpress.ebook.bike\/author\/teamcoltra\/”, “type”: “book”, “date”: “2018-01-20T14:08:43Z”, “modified”: “2018-01-20T14:08:43Z”, “displaydate”: “2018-01-20T14:08:43Z”, “displaydate_dt”: “2018-01-20T14:08:43Z”, “displaymodified”: “2018-01-20T14:08:43Z”, “displaymodified_dt”: “2018-01-20T14:08:43Z”, “permalink”: “http:\/\/wordpress.ebook.bike\/book\/white-is-the-coldest-colour-a-dark-psychological-suspense-thriller\/”, “comments”: [], “numcomments”: 0, “categories_str”: [], “categories”: [ “John Nicholl”, “3261513177”, “”, “english”, “4800-02-01T14:30:43Z” ], “flat_hierarchy_categories_str”: [], “non_flat_hierarchy_categories_str”: [], “tags”: [], “book_author_str”: [ “John Nicholl” ], “flat_hierarchy_book_author_str”: [ “John Nicholl” ], “non_flat_hierarchy_book_author_str”: [ “John Nicholl” ], “book_id_str”: [ “3261513177” ], “flat_hierarchy_book_id_str”: [ “3261513177” ], “non_flat_hierarchy_book_id_str”: [ “3261513177” ], “book_tag_str”: [ “” ], “flat_hierarchy_book_tag_str”: [ “” ], “non_flat_hierarchy_book_tag_str”: [ “” ], “book_language_str”: [ “english” ], “book_publish_date_dt”: [ “4800-02-01T14:30:43Z” ], “book_publish_date_str”: [ “4800-02-01T14:30:43Z” ], “book_series_str”: [] }</b><br><br>{“nb_results”:0,”status”:0,”message”:”Error in one or more bulk request actions:\n\nindex: \/ebookbike\/wpsolr_types\/84361 caused failed to parse\n”,”indexing_complete”:false}

    Plugin Author eostis

    (@wpsolr)

    We do not support the free plugin anymore.

    Thread Starter teamcoltra

    (@teamcoltra)

    Sorry I have your pro plugin, but I cannot find the zendesk that is referred to nor the chatbox

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cannot Index error: parseerror’ is closed to new replies.