You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 19, 2023. It is now read-only.
DATASOLR-232 - Upgrade to Solr 5 / Bump version to 2.0
The upgrade requires a switch to SolrClient and its derivates.
This is a breaking change that demands a major version upgrade of spring-data-solr.
XML namspace and JavaConfig bean definition changes accordingly to reflect the changes.
<solr:solr-client ../> replaces <solr:solr-server ../>
@bean SolrClient solrClient() replaces @bean SolrServer solrServer()
Copy file name to clipboardExpand all lines: src/main/asciidoc/preface.adoc
+2-6
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,7 @@ The Spring Data Solr project applies core Spring concepts to the development of
16
16
[preface]
17
17
== Requirements
18
18
19
-
Requires http://lucene.apache.org/solr/[Apache Solr] 3.6. Preferably the latest 4.x version.
20
-
The client library of SolrJ 5.x is currently, due to breaking changes in the API, not supported.
19
+
Requires http://lucene.apache.org/solr/[Apache Solr] 5. Preferably the latest 5.x version.
21
20
22
21
[source,xml]
23
22
----
@@ -26,7 +25,4 @@ The client library of SolrJ 5.x is currently, due to breaking changes in the API
26
25
<artifactId>solr-core</artifactId>
27
26
<version>${solr.version}</version>
28
27
</dependency>
29
-
----
30
-
31
-
NOTE: If you tend to use the Embedded Version of Solr Server 4.x you will also have to add a version of servlet-api and check your <lockType> as well as <unlockOnStartup> settings.
Copy file name to clipboardExpand all lines: src/main/asciidoc/reference/misc.adoc
+1-3
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,7 @@ This chapter covers additional support for Solr operations (such as faceting) th
6
6
[[solr.misc.partialUpdates]]
7
7
== Partial Updates
8
8
9
-
PartialUpdates can be done using `PartialUpdate` which implements `Update` . NOTE: Partial updates require Solr 4.x. With Solr 4.0.0 it is not possible to update mulitvalue fields.
10
-
11
-
NOTE: With Solr 4.1.0 you have to take care on parameter order when setting null values. Order parameters with nulls last.
9
+
PartialUpdates can be done using `PartialUpdate` which implements `Update`.
0 commit comments