In one of our SharePoint 2013 sites, we have a choice type site column (TypeContrat) in a library. Some of the choices contain apostrophes because we write in French.
When we use the managed property (TypeContrat:"achat d'actions") to search for a choice that contains an apostrophe, we dont find all the files.
After some research and getting help from https://sp2013searchtool.codeplex.com/ I discovered that we find the files with French content but we dont find files with English content.
The DetectedLanguage property is French or English according to the language of the file content.
Then I discovered another thing. At the top of the search result page, there is a drop down menu Preference for results in French / English (after I added the choices in My preferences). When I switch to English, I can see the missing search results (the English files).
Lets verify: is the apostrophe influencing the search or only the language preference? If I try a search with a choice without an apostrophe (TypeContrat:Immobilier), English or French all the files show in the search results.
Conclusion: Curious combination, when French is set as preferred language and when there is an apostrophe in the managed metadata, only files with French content (DetectedLanguage) display in search results. Which might be explained that SharePoint is not able to parse text with an apostrophe when the language is English. However, in our situation, the metadata is in French and the file content in English.
Is it possible to bypass the language detection?
Is it possible to have a neutral preference for language?
Or do you have another suggestion?