KeywordQuery is matching the whole word RRS feed

  • Question


    i am using Microsoft.SharePoint.Client.Search. The search works fine except the thing that is matching the whole word.

    For example if i search for the word gips i get hits back,  but if i search only gip i don't get any results back. Is there a way to avoid this behavior?

    KeywordQuery kq = new KeywordQuery(kq.QueryText = text + " AND path:\"" + path + "\"";
    kq.TrimDuplicates = false;
    SearchExecutor searchExecutor = new SearchExecutor(context);
    ClientResult<ResultTableCollection> results = searchExecutor.ExecuteQuery(kq);

    • Edited by EchoRO Thursday, June 19, 2014 11:19 AM
    Thursday, June 19, 2014 11:18 AM