I have an indexed documents to elastic search with "/" (like 13.89/sdc.2002.10009) as doc id. When I try to get by id
curl -XGET 'http://localhost:9200/csv1/testl/13.89/sdc.2002.10009' Gives me error No handler found for uri [...
How do we get doumnets by id for these documents?
Try to encode / with %xx (i don't recall what xx should be).
Might work but unsure...
Or try escaping the last backslash - curl -XGET 'http://localhost:9200/csv1/testl/13.89\/sdc.2002.10009'
curl -XGET 'http://localhost:9200/csv1/testl/13.89\/sdc.2002.10009'
Ideally though, that's not a char you should be using in an ID.
Encoding with %2F worked. Thanks for all the responses.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.