Hi ,
Find Query that should satisfy the following conditions.
- Must match *searchKey*
- Should also match searchKey
- Should also match searchKey*
Now we have implemented the following query for above but it also returns the matches for *searchKey which we don't need in results.
ITypeSearch<T> query = SearchClient.Instance.Search<T>().For(searchKey, q =>
{
q.Query = string.Concat("*", searchKey, "*");
}).WithAndAsDefaultOperator().UsingSynonyms();
Kindly help us.
Thanks,
Mekala V