We have found an issue where a filename with a dash '-' in it cannot be found when performing a search in SharePoint.
The document is named as follows:
When performing a search for a portion of the filename "2011-1961", no results are returned.
However when removing the dash, the document can be found but it appears that the dash in the filename has been replaced with a slash '/'. We have a custom display template which shows the "filename" property instead of Title as the result header. The value clearly now has a slash where there should be a dash in the filename value in the index.
The behaviour is that users can't find documents as they are expecting "2011-1961" as it appears in the filename, but the index appears to have the value "2011/1961".
Is this expected behaviour or an issue in the index component?