ViewsLifeTime and ViewsRecent is not coming for some of the SharePoint pages using search Query

Sayantan Ganguly 80 Reputation points
2023-10-26T10:31:24.6933333+00:00

I am using below search query to get details such as created, modified, ViewsLifeTime, ViewsRecent using below API:
https://one.dtcc.com/_api/search/query?querytext='Path:<pageurl>'&select=ViewsLifeTime

For some of the pages I am getting ViewsLifeTime, Created and for some of the pages I am not getting. Why? Any solution?

Thanks in advance

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,300 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,810 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ChengFeng - MSFT 5,020 Reputation points Microsoft Vendor
    2023-10-27T02:15:36.1066667+00:00

    Hi@Sayantan Ganguly

    ViewsLifetime means the sum of all the views since the document was created.

    The value ViewsLifetime is updated by the timer job Usage Analytics which run once a day (usually at 1am) to analyse all raw usage logs captured by the timer job Usage Data Import (run once every 5 mins).

    References:

    Usage Analytics (ViewsLifetime)

    SharePointProblems - How to interpret SharePoint’s view count managed properties (like “ViewsLast1Days”)?


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards

    Cheng Feng