Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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
- spring-kafka
- avo
- aws
- RabbitMQ
- scala 2.10
- statestore
- enablekafkastreams
- 한빛미디어
- reactive
- kafka streams
- scala
- Elasticsearch
- 플레이 프레임워크
- kafka interactive query
- schema registry
- springboot
- Spring
- Logstash
- Slick
- confluent
- kafkastream
- coursera
- Kafka
- gradle
- Elk
- play framework
- spring-cloud-stream
- kafkastreams
- 카프카
- spring-batch
Archives
- Today
- Total
목록function_score (1)
b
elasticsearch 에서 must_not random document 검색하기
엘라스틱 커뮤니케이서 본 글 ( https://www.facebook.com/groups/elasticsearch.kr/permalink/2277648678987626/ ) random-score로 특정 문서 몇개를 추출 하는 방법에 대한 고민이다. { "size": 1, "_source" : "type", "query": { "function_score": { "random_score": {}, "query": { "bool": { "must_not": { "term" :{ "type": "APPROVAL_REQUESTED" } } } } } } } 이렇게 하여 랜덤으로 문서 1개를 뽑을 수 있을 것 같았다. 하지만 must_not 은 score 를 항상 0 점으로 반환하므로 거기에 random sco..
카테고리 없음
2019. 7. 5. 10:30