일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- aggs
- zip 파일 암호화
- license delete
- aggregation
- Mac
- 차트
- query
- flask
- high level client
- Kafka
- TensorFlow
- docker
- Elasticsearch
- MySQL
- 파이썬
- sort
- ELASTIC
- licence delete curl
- Python
- token filter test
- 900gle
- springboot
- Test
- matplotlib
- zip 암호화
- Java
- API
- plugin
- License
- analyzer 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