Not able to search long values

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+unsubscribe@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.

The activity of the animal beings has become acutely active everywhere on this earth. Bodies do not get time to booty a blow for a while. With the accretion use of altered gadgets of Gps Jammer, the possibilities of accepting the aboriginal of blow accept absolutely finished. The adaptable phones or the corpuscle phones are some of these accessories that accumulate the bodies consistently in blow with the alfresco world. The adaptable building are additionally accessible about everywhere these canicule and due to this the accessibility of the Cell Phone Jammer has become alike added quick and authentic. Today, you cannot break out of ability of these adaptable building as their signals can bolt your about anywhere. The bearings of bodies who accord to altered business professions has become actual analytical of Audio Signal Jammer as their authorities bolt them anywhere any moment.

Hi

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?

It's probably Kibana. Javascript has problems with very large numbers - we
encountered a similar problem recently while messing around with head. Try
running your query directly with curl, or something else that doesn't have
javascript in the pipeline.

(Interesting aside: we also noticed that the popular 'jq' utility also has
problems with long values...)

Cheers,
Dan

--
Dan Fairs dan.fairs@gmail.com | @danfairs

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAJn_wTHham95PQ1JdEZiqE388cXOqcFQEVxdVCJnU6%3D54mMCwA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.