solr - If WildcardQuery doesn't affect the scoring of documents, why does it return 0.5 constantly? -


i using wildcardquery on documents , see result documents of them have score of 0.5. read queries wildcardquery not affect scoring of documents , wondering cause of score 0.5.

i using simple query:

wildcardquery wq = new wildcardquery("filed_name", "book"); 

wildcardquery does affect scoring. uses constant_score_auto_rewrite, may referring to. means fields match wildcardquery each have equal boost score added match. there is, however, none of typical similarity logic (tf-idf, instance) applied wildcardquery's matches.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -