mirror of
https://github.com/JeffLi1993/springboot-learning-example.git
synced 2026-03-13 21:43:45 +08:00
Spring Boot 整合 Elasticsearch,实现 function score query 权重分查询
This commit is contained in:
@@ -25,9 +25,9 @@ import java.util.List;
|
|||||||
* Created by bysocket on 07/02/2017.
|
* Created by bysocket on 07/02/2017.
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
public class CityServiceImpl implements CityService {
|
public class CityESServiceImpl implements CityService {
|
||||||
|
|
||||||
private static final Logger LOGGER = LoggerFactory.getLogger(CityServiceImpl.class);
|
private static final Logger LOGGER = LoggerFactory.getLogger(CityESServiceImpl.class);
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
CityRepository cityRepository;
|
CityRepository cityRepository;
|
||||||
Reference in New Issue
Block a user