/// <summary> /// 取最新一条 /// </summary> /// <param name="keywords"></param> /// <returns></returns> private async Task <LnPage <News> > SearchIndex_Test(string keywords) { return(await client .SearchIndex(keywords) .MatchField(item => item.Title, "red") .MatchField(item => item.Content, Color.Red, 100) .OrderByDescending(item => item.OrderIndex) .Skip(0) .Take(1) .ToPage()); }