elastiknn_dense_float_vector isn't officially supported by Elasticsearch, and I am not even sure its currently maintained.
If you want approximate nearest neighbors, you should try dense_vector with index: true. That allows you to set expected similarity thresholds at query time.
Or you can continue to use script_query and set min_score for that specific query.