Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • ewuski 16 posts 116 karma points
    15 days ago
    ewuski
    0

    Weird error - "cannot parse" - returned by examine search

    I am getting a strange error from a basic examine query, it looks like:

    {"Cannot parse '__IndexType:content': Encountered \"<EOF>\" at line 1, column 19.\r\nWas expecting one of:\r\n    <BAREOPER> ...\r\n    \"(\" ...\r\n    \"*\" ...\r\n    <QUOTED> ...\r\n    <TERM> ...\r\n    <PREFIXTERM> ...\r\n    <WILDTERM> ...\r\n    <REGEXPTERM> ...\r\n    \"[\" ...\r\n    \"{\" ...\r\n    <NUMBER> ...\r\n    "}
    

    or like:

    {"Cannot parse '__IndexType:content': Encountered \"<EOF>\" at line 1,
    column 0.\r\nWas expecting one of:\r\n    <NOT> ...\r\n    \"+\"
    ...\r\n    \"+\" ...\r\n    \"-\" ...\r\n    \"-\" ...\r\n   
    <BAREOPER> ...\r\n    <BAREOPER> ...\r\n    \"(\" ...\r\n    \"(\"
    ...\r\n    \"*\" ...\r\n    <QUOTED> ...\r\n    \"*\" ...\r\n   
    <TERM> ...\r\n    <PREFIXTERM> ...\r\n    <QUOTED> ...\r\n   
    <WILDTERM> ...\r\n    <REGEXPTERM> ...\r\n    \"[\" ...\r\n   
    <WILDTERM> ...\r\n    <REGEXPTERM> ...\r\n    \"[\" ...\r\n    \"{\"
    ...\r\n    <NUMBER> ...\r\n    <TERM> ...\r\n    \"*\" ...\r\n   
    \"*\" ...\r\n    "}
    

    The query is simple:

    Category: "content", LuceneQuery: {+__NodeTypeAlias:product
    +countryCode:ge -umbracoNaviHide:1}
    

    The error happens on execution:

    searchResults = searchQuery.Execute();
    

    Anyone knows what's going on and what this error means?

    I had the same data in Umbraco 7 site and all worked well. I had never such or similar error returned by the searched content.

  • ewuski 16 posts 116 karma points
    5 days ago
    ewuski
    0

    It usually happens on the first result search. I I reload the page the results are fetched with no issues.

Please Sign in or register to post replies

Write your reply to:

Draft