Remove `_source.obj1`

Related to #14.
This commit is contained in:
David Pilato 2014-03-07 16:42:29 +01:00
parent f5366da0bf
commit 4a308a0223
1 changed files with 0 additions and 1 deletions

View File

@ -106,7 +106,6 @@ public class JavaScriptScriptSearchTests extends ElasticsearchIntegrationTest {
SearchResponse response = client().prepareSearch()
.setQuery(matchAllQuery())
.addField("_source.obj1") // we also automatically detect _source in fields
.addScriptField("s_obj1", "js", "_source.obj1", null)
.addScriptField("s_obj1_test", "js", "_source.obj1.test", null)
.addScriptField("s_obj2", "js", "_source.obj2", null)