We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Affected ES v0.15.1, v0.16.2, v0.17.6. Here is test case:
curl -XDELETE 'http://localhost:9200/test_contacts/' curl -XPUT 'http://localhost:9200/test_contacts/'
curl -XPUT http://localhost:9200/test_contacts/contact/_mapping -d "{"contact": {"_all": {"enabled": false}, "dynamic": false, "properties": {"any_fields": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "reverse_fields": {"dynamic": false, "type": "object", "properties": {"last_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "twitter": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_id": {"index": "not_analyzed", "type": "string"}, "user_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "linkedin": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_id": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "street": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "skype": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "city": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "first_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "zip": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "title": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "state": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "leadSource": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "company_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "department": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "email": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "website": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "description": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "accountNumber": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "assistant": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "phone": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "facebook": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_id": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "leadType": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "dates": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "country": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "assistantPhone": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "reverse_any_fields": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "tag": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "created": {"index": "not_analyzed", "type": "date", "format": "yyyy-MM-dd'T'HH:mm:ssZ"}, "company_id": {"index": "not_analyzed", "type": "string"}, "fields": {"dynamic": false, "type": "object", "properties": {"last_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "twitter": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_id": {"index": "not_analyzed", "type": "string"}, "user_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "linkedin": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_id": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "street": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "skype": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "city": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "first_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "zip": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "title": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "state": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "leadSource": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "company_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "department": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "email": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "website": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "description": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "accountNumber": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "assistant": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "phone": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "facebook": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_id": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "leadType": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "dates": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "country": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "assistantPhone": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "id": {"type": "string", "store": "yes"}, "is_account": {"index": "not_analyzed", "type": "boolean"}, "owner_id": {"index": "not_analyzed", "type": "string"}}, "_source": {"enabled": false}}}"
curl -XPUT http://localhost:9200/test_contacts/contact/4e6dfd2dfa5bd81330000098 -d '{"reverse_any_fields": ["resu emos", "emos", "resu", "moc.niamod@rednaxela"], "any_fields": ["some user", "some", "user", "alexander@domain.com"], "created": "2011-09-12T12:38:05+0000", "reverse_fields": {"first_name": ["emos"], "last_name": ["resu"], "name": ["resu emos"], "email": ["moc.niamod@rednaxela"]}, "fields": {"first_name": ["some"], "last_name": ["user"], "name": ["some user"], "email": ["alexander@domain.com"]}, "owner_id": "4e6dfd2bfa5bd81330000002", "tag": [], "company_id": "4b619ddffa5bd81b71000002", "is_account": false, "id": "4e6dfd2dfa5bd81330000098"}'
The text was updated successfully, but these errors were encountered:
This happens because email is mapped as object, but is provided with a value ,will push a change to fail it with a proper exception.
email
object
Sorry, something went wrong.
c62f476
Indexation of document causes NullPointerException (on Linux) or ES p…
7945678
…rocess hanging, closes elastic#1325.
5594b5d
No branches or pull requests
Affected ES v0.15.1, v0.16.2, v0.17.6.
Here is test case:
curl -XDELETE 'http://localhost:9200/test_contacts/'
curl -XPUT 'http://localhost:9200/test_contacts/'
curl -XPUT http://localhost:9200/test_contacts/contact/_mapping -d "{"contact": {"_all": {"enabled": false}, "dynamic": false, "properties": {"any_fields": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "reverse_fields": {"dynamic": false, "type": "object", "properties": {"last_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "twitter": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_id": {"index": "not_analyzed", "type": "string"}, "user_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "linkedin": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_id": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "street": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "skype": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "city": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "first_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "zip": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "title": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "state": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "leadSource": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "company_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "department": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "email": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "website": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "description": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "accountNumber": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "assistant": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "phone": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "facebook": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_id": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "leadType": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "dates": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "country": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "assistantPhone": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "reverse_any_fields": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "tag": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "created": {"index": "not_analyzed", "type": "date", "format": "yyyy-MM-dd'T'HH:mm:ssZ"}, "company_id": {"index": "not_analyzed", "type": "string"}, "fields": {"dynamic": false, "type": "object", "properties": {"last_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "twitter": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_id": {"index": "not_analyzed", "type": "string"}, "user_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "linkedin": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_id": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "street": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "skype": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "city": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "first_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "zip": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "title": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "state": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "leadSource": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "company_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "department": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "email": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "website": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "description": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "accountNumber": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "assistant": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "phone": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "facebook": {"dynamic": false, "type": "object", "properties": {"profile": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_id": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "user_name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "leadType": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "dates": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "name": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "country": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}, "assistantPhone": {"index": "not_analyzed", "type": "string", "omit_term_freq_and_positions": "true"}}}, "id": {"type": "string", "store": "yes"}, "is_account": {"index": "not_analyzed", "type": "boolean"}, "owner_id": {"index": "not_analyzed", "type": "string"}}, "_source": {"enabled": false}}}"
curl -XPUT http://localhost:9200/test_contacts/contact/4e6dfd2dfa5bd81330000098 -d '{"reverse_any_fields": ["resu emos", "emos", "resu", "moc.niamod@rednaxela"], "any_fields": ["some user", "some", "user", "alexander@domain.com"], "created": "2011-09-12T12:38:05+0000", "reverse_fields": {"first_name": ["emos"], "last_name": ["resu"], "name": ["resu emos"], "email": ["moc.niamod@rednaxela"]}, "fields": {"first_name": ["some"], "last_name": ["user"], "name": ["some user"], "email": ["alexander@domain.com"]}, "owner_id": "4e6dfd2bfa5bd81330000002", "tag": [], "company_id": "4b619ddffa5bd81b71000002", "is_account": false, "id": "4e6dfd2dfa5bd81330000098"}'
The text was updated successfully, but these errors were encountered: