Avoid using deprecated @SolrDocument#solrCoreName

Closes gh-16419
This commit is contained in:
dreis2211 2019-04-02 20:13:57 +02:00 committed by Stephane Nicoll
parent 52e635b823
commit 03a5bb7857
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2017 the original author or authors.
* Copyright 2012-2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -23,7 +23,7 @@ import org.springframework.data.solr.core.mapping.SolrDocument;
/**
* @author Christoph Strobl
*/
@SolrDocument(solrCoreName = "collection1")
@SolrDocument(collection = "collection1")
public class City {
@Id