"Author" in a search rest api call returns "_authorbyline" value if a page author is specified, but defaults to the "created by" field if no author is specified.
/_api/search/query?querytext='SPContentType:"Site Page" AND IsDocument:True AND FileExtension:aspx AND PromotedState:2 AND Path:xxx'&selectproperties='Author'
I want this to return null if no author is specified, not the created by field. If I use "AuthorByline", the response is it doesn't exist. It's a site column I believe in the site page content type. I've tried mapping that property to a managed property and using "OData_AuthorByline/Title" which works properly in a SP REST call (ie not search), but neither work.
It seems a no brainer that if you can "hide" the author on a page, that same routine should apply to REST calls. Is there a way to do it?


