missing required field: appKey

  • fried.dbm
    Participant
    2 years, 9 months ago #27286

    (translated by WPSOLR from German with Google translate)

    Hello,
    I would like to buy the plugin and have therefore installed it on a test instance.
    Unfortunately I get the following error message while indexing:
    org.apache.solr.common.SolrException: [doc = 2162] missing required field: appKey
    org.apache.solr.common.SolrException: [doc = 2161] missing required field: appKey
    org.apache.solr.common.SolrException: [doc = 2160] missing required field: appKey
    Etc.
    Unfortunately, there is not much to do with the error message. Is there anything to change based on Solr?

    thanks

    • This topic was modified 2 years, 9 months ago by wpsolr.
    • This topic was modified 2 years, 9 months ago by wpsolr.
    wpsolr
    Keymaster
    2 years, 9 months ago #27287

    Do you know what is the field “appKey” ?

    fried.dbm
    Participant
    2 years, 9 months ago #27288

    Hello, thx for your reply.
    No, thats the reason why i asked here in this forum 🙂

    wpsolr
    Keymaster
    2 years, 9 months ago #27289

    You can activate the debug mode while indexing, to check the data sent to your Solr server.

    – Active the debug mode
    – start indexing until an error occurs
    – set the batch size to 1
    – start indexing until an error occurs
    – start indexing until an error occurs (again): you should now see the data which caused the error in logs on screen

    wpsolr
    Keymaster
    2 years, 9 months ago #27292

    Also, did you create a new index from WPSOLR’s admin?
    The error could be due to your existing index not using WPSOLR’s schema.xml and solrconfig.xml files

    fried.dbm
    Participant
    2 years, 9 months ago #27293

    Thx for your short instruction – its always the appKey.

    wpsolr
    Keymaster
    2 years, 9 months ago #27294

    What about the 2 previous points? (debug mode, index schema)

    fried.dbm
    Participant
    2 years, 9 months ago #27306

    thank you again for your response.
    the debug mode outputs the same error on every post – also on posts, pages and CPT.

    Yes, i create a new Index from the wpsolr admin panel.

    thank you again and all the best

    wpsolr
    Keymaster
    2 years, 9 months ago #27307

    Did you solve your problem?

    fried.dbm
    Participant
    2 years, 9 months ago #27353

    Hello again,
    we install a new solr instance – after that, it works.
    thx again for your support!

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.