Bit of a late reply as I never saw this, but like the other guys say, sounds like you're not specifying the index. What was the syntax you were using.
On Monday, April 21, 2014 6:37:39 PM UTC+1, miki haiat wrote: > > HI , > > I using elastic4s for an api client , i cant index anything > im getting this error > > [2014-04-21 20:34:02,735][DEBUG][action.admin.indices.create] [Captain UK] > [] failed to create > java.lang.StringIndexOutOfBoundsException: String index out of range: 0 > at java.lang.String.charAt(String.java:658) > at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService. > validateIndexName(MetaDataCreateIndexService.java:168) > at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validate > (MetaDataCreateIndexService.java:523) > at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService. > access$100(MetaDataCreateIndexService.java:87) > at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$2. > execute(MetaDataCreateIndexService.java:220) > at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask. > run(InternalClusterService.java:308) > at org.elasticsearch.common.util.concurrent. > PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run( > PrioritizedEsThreadPoolExecutor.java:134) > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. > java:1145) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > java:615) > at java.lang.Thread.run(Thread.java:745) > > I tried several method and option but the result is the same , > > what im i doing wrong ?? > > thanks > miki > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/8064b263-fcaa-47b2-a7ab-5e77717a59a7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
