일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
Tags
- matplotlib
- springboot
- API
- 차트
- zip 암호화
- Mac
- license delete
- aggregation
- MySQL
- aggs
- License
- Kafka
- query
- zip 파일 암호화
- Python
- analyzer test
- 900gle
- ELASTIC
- plugin
- docker
- Java
- TensorFlow
- flask
- Elasticsearch
- high level client
- sort
- licence delete curl
- token filter test
- Test
- 파이썬
Archives
- Today
- Total
개발잡부
[900gle] 상품데이터 색인 본문
반응형
1초에 한번씩 증분색인 실행
package com.bbongdoo.doo.controller;
import com.bbongdoo.doo.service.ProductsService;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Api(tags = {"1. Products"})
@RestController
@RequestMapping("indexer")
@RequiredArgsConstructor
public class ProductsRestController {
private final ProductsService productsService;
@CrossOrigin("*")
@PostMapping("static/product")
public void staticIndex() {
productsService.staticIndex();
}
}
반응형
Comments