spring-data-elasticsearch support for elasticsearch version 7.14 - spring-data-elasticsearch

ElasticsearchRestTemplate uses import org.elasticsearch.common.unit.TimeValue;. However in latest elasticsearch version 7.14 this class does not exist. Using ElasticsearchRestTemplate.searchScrollStart method results in a NoClassDefFound Exception.
Which version of spring-data-elasticsearch will support the version 7.14?

The latest milestone version 4.3.0-M2 uses 7.13.3 (https://docs.spring.io/spring-data/elasticsearch/docs/4.3.0-M2/reference/html/#preface.versions).
I can't tell yet if we upgrade to 7.14 before M3 - and therefore before 4.3.0 GA
Edit 18.09.2021:
Client libraries 7.14.1 are included now from 4.3.0.M3 on that has been released last Friday.

import org.elasticsearch.common.unit.TimeValue;
should be replaced by:
import org.elasticsearch.core.TimeValue;

Related

How do I force the code not to required to run on earlier Dart version (earlier than Dart 2.2)?

I got Dart version 2.9.0. And my flutter is running with that version now.
However, I got this message:
Set literals weren't supported until version 2.2, but this code is required to be able to run on earlier versions
But I don't want it to be required to run on Dart versions earlier than 2.2.
How do I force it to run only on versions after 2.2 ?
You can edit the dart sdk constraints in your pubspec.yaml file to only use dart versions 2.2 and later.
environment:
sdk: '>=2.2.0 <3.0.0'
See this site for more information about the pubspec.yaml file.

Upgrading neo4j minor version

I have recently upgraded Neo4j from version 3.5 to version 4. The question is, in order to update Neo4j to the latest maintenance release, is it necessary to do all steps outlined in this link https://neo4j.com/docs/operations-manual/current/upgrade/, or it will be correct and sufficient to download the latest version and copy the data directory to the new Neo4j installation ?
The steps documented in the link has been done when moved from 3.5 to 4.0.3. I am going to update it from version 4.0.3 to version 4.0.4.
There is also a nice video from David Allen about the upgrade process
https://www.youtube.com/watch?v=GcaJ-aVLzr4

How to upgrade Cordova 1.5.0 to Cordova 3.5.0 in an exsit project which was created 2 years ago?

It's a project that was made two years ago and now I'm working with it. The question is that the version of the Cordova now 3.5.0 but this project was in 1.5.0. Can I run it in X-code 5.1 now? How can I upgrade it. Plz, I need help, for I'm a totally novice with iOS programs.
Next paragraph code error with that 'Cordova/CDVViewController.h' file not found
#ifdef CORDOVA_FRAMEWORK
#import <Cordova/CDVViewController.h>
#else
#import "CDVViewController.h"
#endif
AFAIK there is no easy way to upgrade from old versions of Cordova. You can try follow this guide: http://docs.phonegap.com/en/3.5.0/guide_platforms_ios_upgrade.md.html#Upgrading%20iOS but you will have to upgrade step by step (i.e. from 1.5.0 to 1.6.0 to 1.7.0 ...). But even when you do that, if you use some old plugins or API calls in your code you will have to rewrite them according to the new version's API.
I had a project using Cordova version 2.1 and I needed to upgrade it to 3.1 and in the end I was better off creating new project in 3.1 and then update plugins or completely rewrite them.
So to sum up, it all depends on complexity of your projects (how many platforms you support, if you communicate with native code, use plugins..). You can try following the update guide or just create a new project in 3.5. If your project is trivial, I suggest creating new 3.5 application and then copy old html, css, js... files to appropriate places in the new project according to 3.5's documentation.

Upgrading Cordova 1.9 to 2.0 version

I need to upgrade my application which is using Cordova 1.8 version to Cordova 2.0 version. I followed the steps mentioned in the http://cordova.apache.org/docs/en/2.8.0/guide_upgrading_ios_index.md.html. My application's running for 1.9 but when am trying to upgrade it to 2.0 version am not able to find 'Preprocessor Macro' in build setting.
Also I am not able to find 'CordovaLib' folder, but in the 10th step they have mentioned related to PreprocessorMacro which am not able to find.
As you main motivation seems to be up to date with the last version of Cordova, I would recommend to create a new clean project with Cordova 2.8 and import your html files in the www folder.
Upgrading version by version is painful and you will not get any benefits from it. However, you might not get any performance improvement but you will get a better support from the community.

dart: cannot resolve class name 'ListBase' from 'ListWrapper

Tried the webui_click tutorial target
Got an error
cannot resolve class name 'ListBase' from 'ListWrapper
Using this version of Dart Editor
Dart Editor version 0.4.5_r21094
Dart SDK version 0.4.5.1_r21094
A new version [21823] is ready to install
Updated Dart Editor to latest version under Help/About Dart Editor and problem went away
Dart Editor version 0.5.0_r21823
Dart SDK version 0.5.0.1_r21823

Resources