Spring Data ElasticSearch - Removed method reference in changelog / release notes? - spring-data-elasticsearch

I'm currently at Spring Data ElasticSearch 3.0.6.RELEASE and I'm looking at upgrading to Spring Data ElasticSearch 4.X
I see code references like new NativeSearchQueryBuilder().withIndices().
I do not see such a method in 4.X. If this was removed, could someone please share a reference in the changelog / release notes. And any references to the alternatives please ?
Same with ElasticsearchTemplate.query() method.
Thanks!

The change with the index names was introduced in version 4.0. See the changelog for this release..

Related

Where can I access official online Rails API docs for previous versions?

Now that Rails 5 is released, http://api.rubyonrails.org/ only has the docs for version 5.0.0. How can I get to the official docs for Rails 4.2 or other previous versions?
I am aware of apidock.com/rails and others, but I want the 4.2 docs from api.rubyonrails.org.
You can find that document right over here: http://api.rubyonrails.org/v4.2/
Just replace the 4.2 with the version you need (keeping the v) and most of the time you'll get the proper document.

Problems upgrading to Spring Data Neo4j 4.0.0

I'm trying to upgrade a project to Spring Data Neo4j 4.0.0 and I'm facing two problems :
The "spring-data-neo4j-rest" package is missing at MvnRepository (spring-data-neo4j-rest-4.0.0.jar returns 404 error). Does the package still exist and should be there, or should I just delete the dependency from my pom.xml?
I've got the following error : The method fetch(Set<...>) is undefined for the type Neo4jOperations in all my DAOs. The method was used to initialize collections of lazily loaded nodes. How can I initialize a node's collections?
Thanks!
Did you read the migration guide that's provided for SDN 4?
http://docs.spring.io/spring-data/neo4j/docs/current/reference/html/#migration
fetch is gone and replaced by fetch-depth
SDN-rest is gone too any not needed anymore (as SDN-4 is all about remote connections).

Upgrading Rails app from 3.2.6 to 3.2.18

I have a Rails app that was built on 3.2.6. I want to upgrade it to the latest version of 3.2 (which seems to be 3.2.18). Can anyone tell me what changes will need to be made besides just changing the Rails version number in the Gemfile? Is there a more stable version I should be upgrading to instead of 3.2.18? I am extremely new to Rails development and I am not finding much help elsewhere on the web.
EDIT: I tried updating to 3.2.18 briefly just to see if the behavior of my application changed, and once I had done so, the main page would not even load, claiming the template was missing. This seems to indicate that I need to manually go in and fix something.
Rails uses semantic versioning. This means that 3.2.x will work if the application was working in any version of 3.2.x.
The latest stable version of Rails is 4.1. I would recommend building new applications with the latest version, unless you know for certain a required feature was deprecated.
EDIT: This response on rails core describes the versioning https://github.com/rails/rails/issues/9979
X.Y.Z
Z - only bug fixes, no API changes.
Y - new features, may contains API changes.
X - new features, will contains API changes. Just bumped in special occasions
change the rails version in Gemfile and run 'bundle update rails'

GridFS support in Grails GORM for Mongo RC1?

Does anyone know if the latest Grails GORM for Mongo plugin supports GridFS?? Looked at the docs but couldn't find any information? If so please may you provide an example.
No, no support yet. You can create a feature request at http://jira.grails.org/browse/GPMONGODB

How do I update an existing older rails project to a newer version

I have a Rails project using rails 3.0.7.
I want to update it to 3.1.0.rc6.
However the directory structure of these are really different,
is there an automatic way to transfer the directory structure? Thank you very much.
I'm not aware of an automated way to update Rails apps to 3.1, but I found David Rice's blog entry about to be a pretty good overview of the steps involved. You can find the overview at: http://davidjrice.co.uk/2011/05/25/how-to-upgrade-a-rails-application-to-version-3-1-0.html
I created a github project to track the difference of the default generated project layout of rails
https://github.com/pmq20/rails-diff-track

Resources