-Fixed bug that causes completionmapper parse error in elastic search. This causes an entire batch to fail. Batches are up to 500 so if 1 fails they all fail. The impact is that many claims were not indexed in elastic search.

This commit is contained in:
Mark Beamer Jr 2018-05-26 22:47:26 -04:00
parent e9ee65be33
commit bb8525f69e

View file

@ -56,8 +56,8 @@ export async function claimSync () {
// console.log('--------------------------------------------');
if (claim.name && claim.value) {
claim.suggest_name = {
input : claim.name,
weight: 30,
input : '' + claim.name + '',
weight: '30',
};
}
pushElastic(claim);