I'm aware that in documentation, it's stated that we have to use --data-binary @filename form but I can't use that with spore. Is there any other way?
Perhaps, I can work on a PR that allows to do it??? What do you think gurus?
FYI, I tried this in SPORE (note the \n chars):
SporeResult result = spore.call("multi_search", new
ImmutableMap.Builder<String, String>()
.put("index", _index)
.put("type", _type)
.build(),
"{}\n{"query":{"match_all":{}}}\n");
I'm aware that in documentation, it's stated that we have to use
--data-binary @filename form but I can't use that with spore. Is there any
other way?
Perhaps, I can work on a PR that allows to do it??? What do you think
gurus?
FYI, I tried this in SPORE (note the \n chars):
SporeResult result = spore.call("multi_search", new
ImmutableMap.Builder<String, String>()
.put("index", _index)
.put("type", _type)
.build(),
"{}\n{"query":{"match_all":{}}}\n");
I'm aware that in documentation, it's stated that we have to use
--data-binary @filename form but I can't use that with spore. Is there any
other way?
Perhaps, I can work on a PR that allows to do it??? What do you think
gurus?
FYI, I tried this in SPORE (note the \n chars):
SporeResult result = spore.call("multi_search", new
ImmutableMap.Builder<String, String>()
.put("index", _index)
.put("type", _type)
.build(),
"{}\n{"query":{"match_all":{}}}\n");
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.