Blacklight Plugin

"did you mean" doesn't work properly for multi-word searches

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.2
  • Fix Version/s: 2.2
  • Component/s: None
  • Description:
    Hide
    if the user query is multiple words, or a phrase, then "did you mean" will suggest a new query with words for EACH word in the query. The new query might have no hits, because it wasn't viewed as a phrase by the spell check dictionary.

    user enters "boo ya"

    spell checker: boo --> book, ya --> ye

    suggestion: "book ye"

    book gets results, ye gets results, but "book ye" does NOT get results.
    Show
    if the user query is multiple words, or a phrase, then "did you mean" will suggest a new query with words for EACH word in the query. The new query might have no hits, because it wasn't viewed as a phrase by the spell check dictionary. user enters "boo ya" spell checker: boo --> book, ya --> ye suggestion: "book ye" book gets results, ye gets results, but "book ye" does NOT get results.

Activity

Hide
Naomi Dushay added a comment - 15/May/09 12:24 AM
This has been fixed. The suggestion offered for multi-word phrases has been changed to

"did you mean to type (term1), or (term2), or (term3)"? where the only terms suggested are when they have MORE hits than the original term.
Show
Naomi Dushay added a comment - 15/May/09 12:24 AM This has been fixed. The suggestion offered for multi-word phrases has been changed to "did you mean to type (term1), or (term2), or (term3)"? where the only terms suggested are when they have MORE hits than the original term.

People

Dates

  • Created:
    14/May/09 12:07 PM
    Updated:
    15/May/09 12:24 AM
    Resolved:
    15/May/09 12:24 AM