0

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 :)).

Any thoughts?

Thanks in advance.

3 Answers 3

2

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.

UPDATE

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:

http://aissp2013:111/_layouts/15/FldEditEx.aspx?List=%7B98089921%2D96C3%2D4B8C%2DB5D0%2D593360EFD1DA%7D&Field=Editor

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 CreatedBy and 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 Author and 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.

3
  • Hey, thanks for the reply!. BTW, where did you get that information? I tried using Editor instead of Author in my query and I'm getting no results in SP2013 even though there are documents modified by the person I'm using. Thanks for your time!
    – Omer
    Commented Apr 14, 2014 at 23:34
  • @Omer, see my updated answer Commented Apr 15, 2014 at 6:30
  • Hey! I believe your answer is the most complete one. Thank you for your time.
    – Omer
    Commented Apr 15, 2014 at 18:18
0

Yep, Author is the Created By. Not sure why they named it the way they did.

3
  • 1
    As I know Author is internal name of Created By field. That is why they named it like this. Commented Apr 10, 2014 at 4:44
  • @Carl, this should be a comment - not a second answer. Commented Apr 10, 2014 at 6:24
  • @MaxMelcher The original question asks "if the Author property matches the Created By"
    – Carl
    Commented Apr 14, 2014 at 22:25
0

Author is the internal name for a Created By field and the Managed Property named Author is mapped to the Crawled Property Author.

It means Search Crawler extracts Created By field values and Search Index stores them in Author Managed Property

2
  • Hey, thanks for the reply!. BTW, are you get this information from an official MS documentation? if so, could you please share the source?
    – Omer
    Commented Apr 14, 2014 at 23:36
  • Hey, unfortunately I wasnt able to find any official information about managed properties mapping. But you could always check yourself managed property mapping in search settings, in fact this is how I verified it Commented Apr 15, 2014 at 10:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.