BAEL-345: SolrJ (#1263)
* BAEL-278: Updated README.md * BAEL-554: Add and update README.md files * BAEL-345: fixed assertion * BAEL-109: Updated README.md
This commit is contained in:
parent
e302aaa1db
commit
5421a352ab
|
@ -33,7 +33,7 @@ public class SolrJavaIntegrationTest {
|
||||||
response = solrJavaIntegration.getSolrClient().query(query);
|
response = solrJavaIntegration.getSolrClient().query(query);
|
||||||
|
|
||||||
SolrDocumentList docList = response.getResults();
|
SolrDocumentList docList = response.getResults();
|
||||||
assertEquals(docList.getNumFound(), 1);
|
assertEquals(1, docList.getNumFound());
|
||||||
|
|
||||||
for (SolrDocument doc : docList) {
|
for (SolrDocument doc : docList) {
|
||||||
assertEquals("Kenmore Dishwasher", (String) doc.getFieldValue("name"));
|
assertEquals("Kenmore Dishwasher", (String) doc.getFieldValue("name"));
|
||||||
|
|
|
@ -15,3 +15,4 @@ To view the running application, visit [http://localhost:8080](http://localhost:
|
||||||
|
|
||||||
###Relevant Articles:
|
###Relevant Articles:
|
||||||
- [Guide to Spring Data REST Validators](http://www.baeldung.com/spring-data-rest-validators)
|
- [Guide to Spring Data REST Validators](http://www.baeldung.com/spring-data-rest-validators)
|
||||||
|
- [Working with Relationships in Spring Data REST](http://www.baeldung.com/spring-data-rest-relationships)
|
||||||
|
|
Loading…
Reference in New Issue