Hy i do a massive update of field in my document
i use this istruction, but i recive the error:
Unexpected character encountered while parsing value: <. Path '', line 0, position 0."
How can i do , please help me thankyou
TimeSpan tempo = new TimeSpan(4,0,0);
var settings = new ConnectionSettings(node);
settings.RequestTimeout(tempo);
settings.DisableDirectStreaming();
settings.DefaultIndex("catalogo_prodotti");
var client = new ElasticClient(settings);
var responeu = client.UpdateByQuery<mSearchOfferteEsercente>(u => u
.Query(q => q.Term(f => f.Prodotto_online, true)
)
.Script("ctx._source.prodotto_online = 'false'")
.Conflicts(Conflicts.Proceed)
.Refresh(true)
);