Hi
Can any one help me how to use doc_values in Beta1 , also how to verify the
same. I have the following settings in elasticsearch config directory.
in elasticsearch.yml
index.mapping.ignore_malformed: false
index.store.type: mmapfs
index.codec.doc_values_format.my_format.type: disk
in templates section
{
"app_template" : {
"template" : "2",
"order" : 0,
"settings" : {
"index.number_of_shards" : 1,
"index.number_of_replicas" : 1
},
"mappings" : {
"2": {
"properties" : {
"time_stamp" : {"type" : "long", "precision_step": 0, "doc_values_format"
: "my_format"},
"message" : {"type" : "string", "omit_norms" : true, "index" : "analyzed"}
}}}}}
I have created a index with the above configuration and indexed few
documents . While searching i attached a debugger and found by default
doc_value enabled for "_version" field and "time_stamp" field has null
value for docValueType . On looking in index directory _0.cfe file contains
only one "doc value" file (both Lucene45_0.dvd & _Lucene45_0.dvm , for
_version field if i understand correctly) .
Then i removed index.codec.doc_values_format.my_format.type: disk from
elasticsearch.yml and modified app_template as below
"time_stamp" : {"type" : "long", "precision_step": 0, "doc_values_format" :
"disk"} but still the same result.
I indexed the same amount of data in ES 0.90.5(with out DocValue) and
issued a query . The field data stats api shows same amount of memory for
both ES 0.90.5 and ES 1 Beta (with DocValue).
--
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 elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.