Menu

#28 searching by pinyin and english can't handle whitespaces

open
None
5
2000-11-16
2000-11-14
peng jiang
No

searching by pinyin and english can't handle more than one white spaces between 2 characters.
case1:
enter: "take care", correct entries returned.
enter: "take care", nothing returned
case2:
enter: "chun1 tian1", correct entries returned.
enter: "chun1 tian1", nothing returned.

I think we should delete unnecessary white spaces before we pass the input into searching method.

Discussion

  • Wesley Tanaka

    Wesley Tanaka - 2000-11-15

    Yes, I agree that outside is the proper place for this functionality.

     
  • peng jiang

    peng jiang - 2000-11-16
    • assigned_to: nobody --> pjiang
     

Log in to post a comment.

MongoDB Logo MongoDB