I'm using the query search services of SharePoint and I'm not able to find in the MS documentation if the Author property matches the Created By, Modified By or both (or something else :)).
Thanks in advance.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
In SharePoint fields have display names and internal names. Created By or Modified By are display names of fields. Internal names are used when creating queries.
Author is the internal name of
Created By field and
Editor is the internal name of
Modified By field.
One way to check the internal name of a field from SharePoint UI is to go into List Settings and Click on the Column Name e.g.
Modified By in Columns section. Observe the Url in the browser. It will be something like this:
At the end of the url is
&Field=Editor which gives the internal name of the column.
However, as your question is regarding Search Service, this is how you should try to set up your
ModifiedBy managed properties in Search:
Go to Search service application in SharePoint Central administration site and click on Search Schema. Check the crawled properties of
Created By managed properties. You may need to add
Office:4(Text) crawled property to
Created By managed property. This is what I had to do long time before in SharePoint 2010. Similarly search the managed property
EditorOWSUSER and notice the crawled property it is mapped to and then add that crawled property to
ModifiedBy managed property.