カスタム検索ポストを実装したい。 azure検索インデックスから結果が得られるのは、たとえば正確な文書が返されないためです。私が "Johnson"を検索すると、いくつかのレコードはJohnsonから始まり、いくつかはJohnsonで始まらない。Azure検索のソートC#
DocumentSearchResult<T> searchResponse = new DocumentSearchResult<T>();
searchResponse = indexClient.Documents.Search<T>(q, searchParams);
どのようにデータをsearchReponse
からソートするのですか?
あなたsearchParamsは何ですか? – Kenneth
これは私のsearchParams = $ count = true&facet = recordType&highlight = customerName、contactName&highlightPreTag =%3Cmark%3E&highlightPostTag =%3C%2Fmark%3E&queryType =単純&scoringParameter = custparam- '顧客'&scoringParameter = contactparam- '連絡先'&スコアリングプロファイル= boostCustomer&searchMode = = 0&$ top = 50} – harshu288