missing required field: appKey

  • fried.dbm
    Participant
    # 5 months ago

    (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 5 months ago by wpsolr.
    • This topic was modified 5 months ago by wpsolr.
    wpsolr
    Keymaster
    # 5 months ago

    Do you know what is the field “appKey” ?

    fried.dbm
    Participant
    # 5 months ago

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

    wpsolr
    Keymaster
    # 5 months ago

    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
    # 5 months ago

    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
    # 5 months ago

    Thx for your short instruction – its always the appKey.

    wpsolr
    Keymaster
    # 4 months, 4 weeks ago

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

    fried.dbm
    Participant
    # 4 months, 4 weeks ago

    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
    # 4 months, 4 weeks ago

    Did you solve your problem?

    fried.dbm
    Participant
    # 4 months, 2 weeks ago

    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.