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:
KevinGilmore 2017-03-01 22:20:07 -06:00 committed by GitHub
parent e302aaa1db
commit 5421a352ab
2 changed files with 2 additions and 1 deletions

View File

@ -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"));

View File

@ -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)