RoutingMissingException


(nmz) #1

While indexing the document : name I get RoutingMissingException,
can any one help?

Exception in thread "Main Thread"
org.elasticsearch.action.RoutingMissingException: routing is required
for [abc]/[name]/[A-1401]


(Rafał Kuć) #2

Hello!

You probably set

"_routing" : {
"required" : true
}

in you mappings and you don't specify that value during indexing.

--
Regards,
Rafał Kuć
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch - ElasticSearch

While indexing the document : name I get RoutingMissingException,
can any one help?

Exception in thread "Main Thread"
org.elasticsearch.action.RoutingMissingException: routing is required
for [abc]/[name]/[A-1401]


(nmz) #3

ya, I was trying to create a parent-child doc mapping, without
specifing the values. Didn't notice it :slight_smile:

On May 11, 6:15 pm, Rafał Kuć r....@solr.pl wrote:

Hello!

You probably set

"_routing" : {
"required" : true

}

in you mappings and you don't specify that value during indexing.

--
Regards,
Rafa³ Kuæ
Sematext ::http://sematext.com/:: Solr - Lucene - Nutch - ElasticSearch

While indexing the document : name I get RoutingMissingException,
can any one help?
Exception in thread "Main Thread"
org.elasticsearch.action.RoutingMissingException: routing is required
for [abc]/[name]/[A-1401]


(system) #4