why similarity_score_threshold is not working. When i changed search_type to similarity then it is worked but retreiverdocument not based on score threshold.
Do you have some more information about your example and how it's not working?
I just tested it in one of my projects and it seems to run for me.
When the threshold is 0.5 I get the same results with the threshold as with the normal similarity. With a higher threshold, some results are omited, and for example, if I increase the threshold too much I get this back: UserWarning: No relevant docs were retrieved using the relevance score threshold 0.8 so it seems to be taking the threshold into account.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.