Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Possible Duplicate:
KeywordQuery & Enabling phonetic results

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?

share|improve this question

marked as duplicate by Alex Angas Sep 18 '11 at 2:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

I had the same problem - Ended up solving it myself.

How to enable phonetic results when using KeywordQuery?

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.