Hello. I'm using pyes (python client) and when creating an index, i set
_source.enabled to False and _index.enabled to False like this:
esconn.create_index(index_name, {"_source": {"enabled": False}, "_index":
{"enabled": False}, "include_in_all": False})
I still get the _source parameter filled in the query results.
In my understanding ES , keep 3 copy of each fields , one in _source ,
other in _all and other as store.
Thanks
Vineeth
On Thu, May 10, 2012 at 2:38 PM, Catalin Constantin dazoot@gmail.comwrote:
Hello. I'm using pyes (python client) and when creating an index, i set
_source.enabled to False and _index.enabled to False like this:
esconn.create_index(index_name, {"_source": {"enabled": False}, "_index":
{"enabled": False}, "include_in_all": False})
I still get the _source parameter filled in the query results.
joi, 10 mai 2012, 12:26:58 UTC+3, Vineeth Mohan a scris:
try adding
store to false for each field.
In my understanding ES , keep 3 copy of each fields , one in _source ,
other in _all and other as store.
Thanks
Vineeth
On Thu, May 10, 2012 at 2:38 PM, Catalin Constantin dazoot@gmail.comwrote:
Hello. I'm using pyes (python client) and when creating an index, i set
_source.enabled to False and _index.enabled to False like this:
esconn.create_index(index_name, {"_source": {"enabled": False}, "_index":
{"enabled": False}, "include_in_all": False})
I still get the _source parameter filled in the query results.
joi, 10 mai 2012, 12:26:58 UTC+3, Vineeth Mohan a scris:
try adding
store to false for each field.
In my understanding ES , keep 3 copy of each fields , one in _source ,
other in _all and other as store.
Thanks
Vineeth
On Thu, May 10, 2012 at 2:38 PM, Catalin Constantin daz...@gmail.comwrote:
Hello. I'm using pyes (python client) and when creating an index, i set
_source.enabled to False and _index.enabled to False like this:
esconn.create_index(index_name, {"_source": {"enabled": False}, "_index":
{"enabled": False}, "include_in_all": False})
I still get the _source parameter filled in the query results.
If you're seeing that when doing a "Get" query, it's because the
document is fetched from the transaction log, it's a bug solved in the
master branch that will be rolled out in 0.19.4.
joi, 10 mai 2012, 12:26:58 UTC+3, Vineeth Mohan a scris:
try adding
store to false for each field.
In my understanding ES , keep 3 copy of each fields , one in _source ,
other in _all and other as store.
Thanks
Vineeth
On Thu, May 10, 2012 at 2:38 PM, Catalin Constantin daz...@gmail.comwrote:
Hello. I'm using pyes (python client) and when creating an index, i set
_source.enabled to False and _index.enabled to False like this:
esconn.create_index(index_name, {"_source": {"enabled": False}, "_index":
{"enabled": False}, "include_in_all": False})
I still get the _source parameter filled in the query results.
Just to correct this answer (sorry Vineeh), ES doesn't keep 3 copies of the
data by default. By default, it keeps only one copy, which is the full json
document stored. The default "store" for specific fields is false, and most
times, should not be set to true (unless you really want to store that
field separately as well).
In my understanding ES , keep 3 copy of each fields , one in _source ,
other in _all and other as store.
Thanks
Vineeth
On Thu, May 10, 2012 at 2:38 PM, Catalin Constantin dazoot@gmail.comwrote:
Hello. I'm using pyes (python client) and when creating an index, i set
_source.enabled to False and _index.enabled to False like this:
esconn.create_index(index_name, {"_source": {"enabled": False}, "_index":
{"enabled": False}, "include_in_all": False})
I still get the _source parameter filled in the query results.
joi, 10 mai 2012, 12:26:58 UTC+3, Vineeth Mohan a scris:
try adding
store to false for each field.
In my understanding ES , keep 3 copy of each fields , one in _source ,
other in _all and other as store.
Thanks
Vineeth
On Thu, May 10, 2012 at 2:38 PM, Catalin Constantin dazoot@gmail.comwrote:
Hello. I'm using pyes (python client) and when creating an index, i set
_source.enabled to False and index.enabled to False like this:
esconn.create_index(index**name, {"_source": {"enabled": False},
"_index": {"enabled": False}, "include_in_all": False})
I still get the _source parameter filled in the query results.
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.