나는 오류가 부모 - 자식 관계를 가진 개체를 채울 수 있지만 얻으려고 :ElasticSearch RoutingMissingException
[엘라 \ 예외 \의 ResponseException] RoutingMissingException [라우팅 [myindex]/[코멘트가 필요합니다]/[ 유형의 conf에서 12345]
발췌 :
article:
_source:
enabled: false
mappings:
...
comment:
_source:
enabled: false
_parent:
type: article
property: article_id
identifier: id
_routing:
required: true
path: article_id
mappings:
article:
type: long
index: not_analyzed
...
캔트 내가 여기 실종 이해 .... 난
Symfony2.3, FOSElasticaBundle 3.0, ElasticSearch 1.2.2
안녕하세요 @JognSmith, 당신은 당신의 대답을 편집하고 버전에 대한 작곡가의 줄을 추가하십시오 수 있을까? FOSElasticaBundle의 코드에서 엔티티가 어떻게 매핑되는지 보여줍니다. 나는 2 일 이상 같은 버그를 겪고 있는데, 그것은 나를 미치게 만든다. 감사! – Cassiano
@ 카시노, 내 문제는 매핑에 잘못된 필드 (아래 내 대답에 명시된 바와 같이). 원래의 질문을 수정했습니다. 매핑을 확인하십시오. – JohnSmith
이미 확인했습니다. 그래서 내가 작곡가 태그/지점 및 협회 엔티티 매핑에 – Cassiano