No.

You need to reindex your data if you want to add a new field. 
Have a look at 
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html


--
David ;-)
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs


Le 10 juil. 2014 à 05:06, Charles Chou <[email protected]> a écrit :

I store numbers by using string type.when i filter these use script filter 
range like this:

  {
  "query": {
    "filtered": {
      "query": {
        "match_all": {}
      },
      "filter": {
        "nested": {
          "path": "pt_account",
          "filter": {
            "bool": {
              "must": [
              
                {
                  "term": {
                    "column": "mobile_account"
                  }
                },
                {
                  "script" : {
                    "script" : "doc['value'].value >= param1 and 
doc['value'].value <= param2",
                    "params" : {
                      "param1" : "15091568126",
                      "param2" : "15191568126"
                    }
                  }
                }
               
              ]
            }
          }
        }
      }
    }
  }
}

Will this field value reindex when i filter like that,how do i to Improve 
Performance ? Thank you!
-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/ded279aa-78c9-4b3e-9959-9548b47c8e24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/4127C4F2-9988-4A81-807B-069DFD728B54%40pilato.fr.
For more options, visit https://groups.google.com/d/optout.

Reply via email to