locked
Azure search not handling hyphens in search queries properly RRS feed

  • Question

  • If I search for:
    712-645M4&searchMode=all&$count=true&queryType=full 

    I get 84 matches



    However, if I search for (note the quotes in the search term):

    "712-645M4"&searchMode=all&$count=true&queryType=full 

    I get 1 match (which is the expected result)


    According to the azure search documentation:

    So based on the docs it seems like there should be no need to enclose the hyphenated term between quotes (as long as there are no spaces before or after the hyphen)

    Can you guys let me know if I am missing something when you have a chance? :)

     
    Tuesday, September 4, 2018 6:54 PM

Answers