Here are the mappings I dumped by adding that function to my client:

{"topics":{"mappings":{"core":{"properties":{"crDt":{"type":"date","format":"dat
eOptionalTime"},"crtr":{"type":"string"},"details":{"type":"string"},"inOf":{"ty
pe":"string"},"isPrv":{"type":"string"},"lEdDt":{"type":"date","format":"dateOpt
ionalTime"},"lIco":{"type":"string"},"label":{"type":"string"},"lox":{"type":"st
ring"},"sIco":{"type":"string"},"sbOf":{"type":"string"},"srtDt":{"type":"long"}
,"trCl":{"type":"string"}}}}}}

There are no fields for "index"  or "store" where
"index":"not_analyzed" was used where appropriate.

A snippet of the mappings.json is below.  I would like to know why ES
ignored the values.

Many thanks
Jack

{
    "properties": {
        "lox": {
            "index": "not_analyzed",
            "type": "string",
            "store": "yes"
        },
        "inOf": {
            "index": "not_analyzed",
            "type": "string",
            "store": "yes"
        },
         "_ver": {
            "index": "not_analyzed",
            "type": "string",
            "store": "yes"
        },
    "srtDt": {
    "index": "not_analyzed",
         "type": "long",
         "store": "yes"
        },
        "tpC": {
    "index": "not_analyzed",
         "type": "long",
         "store": "yes"
        },
        "lists": {
            "properties": {
                "sbOf": {
                    "index": "not_analyzed",
                    "type": "string",
                    "store": "yes"
                },
                "label": {
                    "index": "analyzed",
                    "type": "string",
                    "store": "yes"
                },
                "details": {
                    "index": "analyzed",
                    "type": "string",
                    "store": "yes"
                }

-- 
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/CAH6s0fwvc_yvfx91nsJiu3-etTHTza5DMkdjyWmM92u5R_VXSg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to