간단한 질문 : 내 elasticsearch 엔진에 다중 색인이 postgresql에 의해 logstash를 사용하여 미러링됩니다. ElasticSearch는 퍼지 검색에 적합하지만 인덱스에서 쿼리를 처리해야하는 참조를 사용해야합니다.ElasticSearch 멀티 색인 쿼리
Index A:
{
name: "alice",
_id: 5
}
...
Index B:
{
name: "bob",
_id: 3,
best_friend: 5
}
...
어떻게 쿼리 않습니다
필드 이름이 이름을 "A"
로 시작하는 "best_friend"에 의해 참조 "B"와 인덱스 A를 시작하는 인덱스 B의 모든 경기를 가져옵니다신축성있는 검색에서도 이것이 가능합니까?
(https://stackoverflow.com/questions/36915428/how-to-setup-elasticsearch-index-structure-with-multiple-entity-bindings/36982705# 36982705) 나중에 더 잘 쿼리 할 수 있습니다. – Val