Re: Add datastore for Elasticsearch. Outreachy Week 10 Report

2021-02-15 Thread Maria Podorvanova
Hi John, Thank you for your answers. 1) The type of the Elasticsearch "_id" field is string. I am not sure that will fix the problem if I just copy the "_id" field contents as "_id" can still be an arbitrary string value (i.e. not necessarily an integer). 2) Elasticsearch does not support

Re: Add datastore for Elasticsearch. Outreachy Week 10 Report

2021-02-15 Thread John Mora
Hi Maria, Thanks for the update. 1) I think you can copy the content from _id to a manually created field let's say 'gora_id' using copy_to. https://www.elastic.co/guide/en/elasticsearch/reference/current/copy-to.html But, I have not try it yet, I am not sure if this will work. Alternatively,

Add datastore for Elasticsearch. Outreachy Week 10 Report

2021-02-12 Thread Maria Podorvanova
Hi, Report #10 Week 10: January, 7 - February, 13 Activities: - Implemented newQuery method - Implemented deleteByQuery method - Used an Enum instead of literal strings for the Authentication Type parameter - Used parameterized logging instead of string concatenation - Implemented execute method