views:

29

answers:

0

I'm looking for a little help regarding SharePoint 2010 search. When I use the OOTB People Search, phonetic matches are returned (i.e. searching for "jon" returns both "jon" and "john"; however, when I use KeywordQuery or the FullTextSqlQuery classes they are not.

Here is what my KeywordQuery object looks like:

var query = new KeywordQuery(SPContext.Current.Site)
            {
                ResultTypes = ResultType.RelevantResults,
                EnablePhonetic = true,
                EnableStemming = true,
                EnableNicknames = true,
                HiddenConstraints = "scope:\"People\"",
                QueryText = searchText

            };

Does anyone have any ideas on what the OOTB people is using or what I need to to do differently?

Thanks

related questions