Scoring when using wildcard search in query_string


This may be partly a general FTS question
If I have two tokens like "abc" and "abc123"

And user searches for "abc",

in general is "abc" considered more relevant or "abc123"?
Is there any deterministic ranking by lucene that one is ranked better than the other always?
When using in "query_string" with default rewrite, score is always 1. So, will the returned results always be random when it comes to ranking of the docs with these two terms?

While using query_string, are there any strategies that I can use to have the exact match "abc" as the top result?


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.