-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
This code was functional over the last day or two but generates a 500 with the latest build:
var queryResults = new ElasticClient(SearchSettings).MultiSearch(b => {
tags.ForEach(t => b.Search<LocalInstagramMedia>(s => s.From(0)
.Size(1)
.SortDescending(p => p.Likes.Count)
.Index("Media")
.Query(p => p.Term(f => f.Tags, t))));
return b;
});
return (from r in queryResults.GetResponses<LocalInstagramMedia>() select r.Documents.FirstOrDefault());
Metadata
Metadata
Assignees
Labels
No labels