November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
You can use all of the filters except the one with IsExpired before the .Select projection.
return _client.Search<AuthorPage>()
.Filter(x => x.IsDeleted.Match(false))
.Filter(x => x.SearchSubsection().Match("Authors"))
.Filter(x => x.Email.MatchCaseInsensitive(email))
.Select(x=> new { x.ContentLink } )
.GetResults();
i am on phone now so can't verify but it should just work
I am not getting any results your way. Three ways I tried it, the results are below. The first (anotherTrial) tried without the Take(1000) first, did not work either
The test is not equipvalent as far as I can tell because the resultId is without the subsection matching for "Author"?
You are right, missed that.
Another question - previously with one query I was getting and returning a page.
Now first I get content link. Then I have to use contentVersionRepository to get a version. And then I still need to get an actual page.
Isn't there a shorter way to accomplish this?
I had the following query
Now I need to rewrite it to use .GetResult() to get the ContentLink.ID. I do not seem to find a way to combine all of the following
Anyone able to assist with this? = )