I maybe found a bug in the user search API.
I use a app_metadata_field to retrieve some users.
I search by using a lucene query like this : app_metadata.tenant_id:“test” but i receive a 500 error
{ "statusCode": 500, "error": "Internal Server Error", "message": "An internal server error occurred", "errorCode": "SearchPhaseExecutionException[Failed to execute phase [query_fetch], all shards failed; shardFailures {[B03gidRzQsSNhopxzxvb8A][users][0]: RemoteTransportException[production-user-data-es-i-02c4205da47ca3064-eu-central-1][inet[/172.29.48.227:9300]][indices:data/read/search[phase/query+fetch]]]; nested: SearchParseException[users][0]: from[0],size[50]: Parse Failure [Failed to parse source [{\"size\":50,\"from\":0,\"timeout\":\"5s\",\"query\":{\"query_string\":{\"query\":\"__meta.maxlab_app_metadata.tenant_id:\\\"test\\\"\"}},\"sort\":[{\"last_login\":{\"order\":\"desc\",\"missing\":0}}]}]]]; nested: NumberFormatException[For input string: \"test\"]; }]" }
However when I try with a field named, for example t_id. It’s working ( q:app_metadata.t_id:“test” )