Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit 73bf0ed

Browse files
DATASOLR-256 - Update documentation.
- Updated "What’s new" section in reference documentation. - Fixed broken anchor, links and some other minor changes.
1 parent 159a27b commit 73bf0ed

File tree

5 files changed

+19
-12
lines changed

5 files changed

+19
-12
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Maven
245245
<dependency>
246246
<groupId>org.springframework.data</groupId>
247247
<artifactId>spring-data-solr</artifactId>
248-
<version>1.2.0.RELEASE</version>
248+
<version>${version}.RELEASE</version>
249249
</dependency>
250250
```
251251

@@ -255,7 +255,7 @@ Maven
255255
<dependency>
256256
<groupId>org.springframework.data</groupId>
257257
<artifactId>spring-data-solr</artifactId>
258-
<version>1.3.0.BUILD-SNAPSHOT</version>
258+
<version>${version}.BUILD-SNAPSHOT</version>
259259
</dependency>
260260

261261
<repository>

src/main/asciidoc/new-features.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
[[new-features]]
22
= New & Noteworthy
33

4+
[[new-features.1-5-0]]
5+
== What's new in Spring Data Solr 1.5
6+
7+
* Support for <<solr.misc.faceting.range>>.
8+
* Automatically prefix/suffix map keys via `@Dynamic` (See: _dynamicMappedFieldValues_ in <<solr.mapping.mappingSolr>>).
9+
410
[[new-features.1-4-0]]
511
== What's new in Spring Data Solr 1.4
612

713
* Upgraded to recent Solr 4.10.x distribution (requires Java 7).
814
* Add support for <<solr.misc.realtimeGet>>.
915
* Get <<solr.misc.fieldStats>> (max, min, sum, count, mean, missing, stddev and distinct calculations).
10-
* Use `@Score` to automatically add projection on document score (See <<solr.misc.specialFields>>).
16+
* Use `@Score` to automatically add projection on document score (See: <<solr.misc.specialFields>>).
1117

src/main/asciidoc/preface.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,16 @@ The Spring Data Solr project applies core Spring concepts to the development of
88

99
* Version Control - https://github.com/spring-projects/spring-data-solr
1010
* Bugtacker - https://jira.spring.io/browse/DATASOLR
11-
* Release repository - https://repo.springsource.org/libs-release
12-
* Milestone repository - https://repo.springsource.org/libs-milestone
13-
* Snapshot repository - https://repo.springsource.org/libs-snapshot
11+
* Release repository - https://repo.spring.io/libs-release
12+
* Milestone repository - https://repo.spring.io/libs-milestone
13+
* Snapshot repository - https://repo.spring.io/libs-snapshot
1414

1515
[[requirements]]
1616
[preface]
1717
== Requirements
1818

19-
Requires http://lucene.apache.org/solr/[Apache Solr] 3.6 and above or optional dependency
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.
2021

2122
[source,xml]
2223
----

src/main/asciidoc/reference/data-solr.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Using the `repositories` element looks up Spring Data repositories as described
2424
xsi:schemaLocation="http://www.springframework.org/schema/beans
2525
http://www.springframework.org/schema/beans/spring-beans.xsd
2626
http://www.springframework.org/schema/data/solr
27-
http://www.springframework.org/schema/data/solr/spring-solr-1.0.xsd">
27+
http://www.springframework.org/schema/data/solr/spring-solr.xsd">
2828
2929
<solr:repositories base-package="com.acme.repositories" />
3030
</beans>
@@ -44,7 +44,7 @@ Using the `solr-server` or `embedded-solr-server` element registers an instance
4444
xsi:schemaLocation="http://www.springframework.org/schema/beans
4545
http://www.springframework.org/schema/beans/spring-beans.xsd
4646
http://www.springframework.org/schema/data/solr
47-
http://www.springframework.org/schema/data/solr/spring-solr-1.0.xsd">
47+
http://www.springframework.org/schema/data/solr/spring-solr.xsd">
4848
4949
<solr:solr-server id="solrServer" url="http://locahost:8983/solr" />
5050
</beans>
@@ -62,7 +62,7 @@ Using the `solr-server` or `embedded-solr-server` element registers an instance
6262
xsi:schemaLocation="http://www.springframework.org/schema/beans
6363
http://www.springframework.org/schema/beans/spring-beans.xsd
6464
http://www.springframework.org/schema/data/solr
65-
http://www.springframework.org/schema/data/solr/spring-solr-1.0.xsd">
65+
http://www.springframework.org/schema/data/solr/spring-solr.xsd">
6666
6767
<solr:solr-server id="solrServer" url="http://locahost:8983/solr,http://localhost:8984/solr" />
6868
</beans>
@@ -80,7 +80,7 @@ Using the `solr-server` or `embedded-solr-server` element registers an instance
8080
xsi:schemaLocation="http://www.springframework.org/schema/beans
8181
http://www.springframework.org/schema/beans/spring-beans.xsd
8282
http://www.springframework.org/schema/data/solr
83-
http://www.springframework.org/schema/data/solr/spring-solr-1.0.xsd">
83+
http://www.springframework.org/schema/data/solr/spring-solr.xsd">
8484
8585
<solr:embedded-solr-server id="solrServer" solrHome="classpath:com/acme/solr" />
8686
</beans>

src/main/asciidoc/reference/misc.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ options.addFacetOnField(new FieldWithFacetParameters("name").setPrefix("spring")
7777
----
7878
====
7979

80-
[[solr.misc.faceting.pivot]]
80+
[[solr.misc.faceting.range]]
8181
=== Range Faceting
8282

8383
Range faceting queries may be done by configure required ranges on `FacetOptions`. A simple way to request ranges would be by creating a `FacetOption`, setting this options to a `FacetQuery` and query for a facet page through `SolrTemplate` as follows.

0 commit comments

Comments
 (0)