Skip to content

Instantly share code, notes, and snippets.

@BurlesonBrad
Created August 4, 2017 18:56
Show Gist options
  • Save BurlesonBrad/9a61fc9d72c2ff87f966aa07e4726fa0 to your computer and use it in GitHub Desktop.
Save BurlesonBrad/9a61fc9d72c2ff87f966aa07e4726fa0 to your computer and use it in GitHub Desktop.
null
I also found this, which may be helpful: https://github.com/allan23/ep-troubleshoot - doesn't seem to be in the plugin marketplace so you'd have to install it manually, but may be helpful in generating more debug info specific to what's happening in elasticpress land.
Looking more closely at the exception being logged during indexing:
Caused by: SearchParseException[failed to parse search source [{"from":0,"size":5,"sort":[{"post__in":{"order":"desc"}}],"query":{"match_all":{"boost":1}},"post_filter":{"bool":{"must":[{"bool"
:{"must_not":[{"terms":{"terms.product_visibility.name.raw":["outofstock"]}}]}},{"bool":{"must":{"terms":{"post_id":[56662,57698,58086,10463,32389,63478,60303,60287,60277,60308,60268,15626,65731,65444,65712]}}}},{"term":{"post_type.raw":"product"}},{"term":{"post_status":"publish"}}]}}}]]; nested: SearchParseException[No mapping found for [post__in] in order to sort on];
I would guess the issue is with one of those post ids: 56662,57698,58086,10463,32389,63478,60303,60287,60277,60308,60268,15626,65731,65444,65712
I've confirmed there are no port disconnect or ES resource issues occurring. I even bumped the memory for ES up to 2GB from the standard 1GB.
Have you examined the data pertaining to those post ids?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment