I'm trying to fetch both the _source field and another field that is
excluded from source, but I can't get elasticsearch to return me both
of these:
SearchResponse scrollResp = client.prepareSearch("test")
.setSearchType(SearchType.SCAN)
.setScroll(new TimeValue(60000))
.setSize(100).execute().actionGet(); //100 hits per shard will be
returned for each scroll
I'm trying to fetch both the _source field and another field that is
excluded from source, but I can't get elasticsearch to return me both
of these:
SearchResponse scrollResp = client.prepareSearch("test")
.setSearchType(SearchType.SCAN)
.setScroll(new TimeValue(60000))
.setSize(100).execute().actionGet(); //100 hits per shard
will be
returned for each scroll
I'm trying to fetch both the _source field and another field that is
excluded from source, but I can't get elasticsearch to return me both
of these:
SearchResponse scrollResp = client.prepareSearch("test")
.setSearchType(SearchType.SCAN)
.setScroll(new TimeValue(60000))
.setSize(100).execute().actionGet(); //100 hits per shard
will be
returned for each scroll
I'm trying to fetch both the _source field and another field that is
excluded from source, but I can't get elasticsearch to return me both
of these:
SearchResponse scrollResp = client.prepareSearch("test")
.setSearchType(SearchType.SCAN)
.setScroll(new TimeValue(60000))
.setSize(100).execute().actionGet(); //100 hits per shard
will be
returned for each scroll
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.