org.elasticsearch.ElasticSearchIllegalArgumentException: Can't specify parent if no parent field has been configured

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via JIRA by Etienne Morency-Bachand [X], 1 year ago
Can't specify parent if no parent field has been configured
via JIRA by Etienne Morency-Bachand [X], 1 year ago
Can't specify parent if no parent field has been configured
via Stack Overflow by jsp
, 2 years ago
Can't specify parent if no parent field has been configured
org.elasticsearch.ElasticSearchIllegalArgumentException: Can't specify parent if no parent field has been configured
at org.elasticsearch.action.index.IndexRequest.process(IndexRequest.java:597)
at org.elasticsearch.action.bulk.TransportBulkAction.executeBulk(TransportBulkAction.java:165)
at org.elasticsearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:140)
at org.elasticsearch.action.bulk.TransportBulkAction.doExecute(TransportBulkAction.java:63)
at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:63)
at org.elasticsearch.client.node.NodeClient.execute(NodeClient.java:92)
at org.elasticsearch.client.support.AbstractClient.bulk(AbstractClient.java:149)
at org.elasticsearch.action.bulk.BulkRequestBuilder.doExecute(BulkRequestBuilder.java:149)
at org.elasticsearch.action.ActionRequestBuilder.execute(ActionRequestBuilder.java:85)
at org.obiba.opal.search.es.EsIndexManager$EsIndexer.sendAndCheck(EsIndexManager.java:195)
at org.obiba.opal.search.es.EsValuesIndexManager$Indexer$ValuesReaderCallback.onComplete(EsValuesIndexManager.java:174)
at org.obiba.magma.concurrent.ConcurrentValueTableReader.read(ConcurrentValueTableReader.java:75)
at org.obiba.opal.search.es.EsValuesIndexManager$Indexer.index(EsValuesIndexManager.java:97)
at org.obiba.opal.search.es.EsIndexManager$EsIndexer.run(EsIndexManager.java:190)
at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
at org.obiba.opal.search.IndexSynchronizationManager$SyncConsumer.consume(IndexSynchronizationManager.java:228)
at org.obiba.opal.search.IndexSynchronizationManager$SyncConsumer.run(IndexSynchronizationManager.java:214)
at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
at java.lang.Thread.run(Thread.java:724)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.