Hi Team,

I have an index with the below mapping.

{
"merchant_customer":{
"properties":{
"ADDRESS1":{"type":"string"},
"ADDRESS2":{"type":"string"},
"CITY_NAME":{"type":"string"},
"COUNTRY_CODE":{"type":"string"},
"CUSTOMER_NUMBER":{"type":"long"},
"MERCHANT_NUMBER":{"type":"long"},
"POSTAL_CODE":{"type":"string"},
"SHIPPING_POSTAL_ADDRESS_ID":{"type":"long"}
}
}
}

And I tried searching the CUSTOMER_NUMBER and MERCHANT_NUMBER from Head 
plugin as well as from Kibana UI. 
But its not getting searched. I even tried to explicitly provide 
*"index":"not_analyzed" 
*for CUSTOMER_NUMBER and MERCHANT_NUMBER.
Even that didn't work. Only after changing these fields to String, I was 
able to search on these fields. [Eg: CUSTOMER_NUMBER  1234567899876543210]
Can someone tell me why is the behaviour like this?

Thanks 
Reeni

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/d0078d5b-b443-4030-beba-150fa5cbf7c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to