Search Ranking Breakdown

Good Day, 

I've seen a few posts on how to prioritize search results by configuring Solr, but is there any information on how it ranks content for priority in the search results?

It looks like Tagging influences the results, and there is the option to populate only content X years old, but are there any other factors that may influence what populates on top and how those are weighted/ calculated? Do things like View Counts, Likes, etc. also impact the prioritization and weight of results populated? 

Parents
  • You also need to consider the setting for matching words as this effects the results returned, and for short queries can work not as you might expect

    This is related to the mm value in the solrconfig file 
    <str name="mm">2&lt;2 3&lt;50% 11&lt;5</str>

    2<2 3<50% 11<5

    Solr searches the query words across the configured fields, then requires a minimum number of those words to match for a document to qualify.

    The rule works out as:

    • 1–2 words: all words must match.
    • 3 words: at least 2 must match.
    • 4–11 words: at least half must match, rounded down. For example, a 6-word query needs 3 matches; an 11-word query needs 5.
    • 12 or more words: at least 5 must match.

    So a longer query can still return a document that misses several words, but the minimum eventually levels off at five.

    “Match” doesn’t mean the words must appear together as a phrase; phrase settings can boost close matches, but this mm rule is about how many query clauses match.




Reply
  • You also need to consider the setting for matching words as this effects the results returned, and for short queries can work not as you might expect

    This is related to the mm value in the solrconfig file 
    <str name="mm">2&lt;2 3&lt;50% 11&lt;5</str>

    2<2 3<50% 11<5

    Solr searches the query words across the configured fields, then requires a minimum number of those words to match for a document to qualify.

    The rule works out as:

    • 1–2 words: all words must match.
    • 3 words: at least 2 must match.
    • 4–11 words: at least half must match, rounded down. For example, a 6-word query needs 3 matches; an 11-word query needs 5.
    • 12 or more words: at least 5 must match.

    So a longer query can still return a document that misses several words, but the minimum eventually levels off at five.

    “Match” doesn’t mean the words must appear together as a phrase; phrase settings can boost close matches, but this mm rule is about how many query clauses match.




Children
No Data