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