Calendar's fields Eventdate and EndDate does not appear in search result.

Hi,

I have developed a Search based application where I am displaying all consolidated events using Search webpart. I have used custom display template to customize the view. I am able to get all other fields in search result except 'EventDate' and 'EndDate'. 

Can someone help me why is this hapening? I am doing this on SharePoint Online. Is this because these fields are list fields or is this because its Online?

Thank you.

Regards,

Rahul Shinde.

July 31st, 2015 11:23am

SharePoint generates crawled properties like OWS_EventDate and OWS_EndDate after crawling the content but you need to map them from Central Admin in the Search Service Application to make them appear in the result.

Refer: https://waelmohamed.wordpress.com/2011/05/31/add-custom-search-properties-in-your-advanced-search-sharepoint-2010/

https://social.technet.microsoft.com/Forums/office/en-US/416a15fd-5763-4a53-b6e2-c8f5ddfe586d/specific-column-is-not-searchable-in-sharepoint-2010?forum=sharepointsearchprevious

Free Windows Admin Tool Kit Click here and download it now
July 31st, 2015 11:36am

Hi Rupesh,

Thank you for inputs but I have already mapped those crawled properties to managed properties, and referring those managed properties in display templates. I tried mapping them on CA level as well as Site collection level but no luck.

Regards,

Rahul Shinde.

July 31st, 2015 11:51am

Did you crawl the result once?
Free Windows Admin Tool Kit Click here and download it now
July 31st, 2015 12:05pm

Hi,

This is SharePoint Online 2013/ Office 365. No Option for crawl.

thank you.

Regards,

Rahul Shinde

July 31st, 2015 12:11pm

Do one thing, you can re-index list, that way it forcibly crawls. check if it helps. 
Free Windows Admin Tool Kit Click here and download it now
July 31st, 2015 12:16pm

Hi,

I performed this step but still no luck.

Regards,

Rahul Shinde

August 3rd, 2015 3:06am

Very well, I am empty now, you should ask Microsoft team.
Free Windows Admin Tool Kit Click here and download it now
August 3rd, 2015 9:51am

Hi,

Could you get results when you search content of the EventDate and EndDate field?

How did you customize search display template? The link below is about how to display values from custom managed properties in search results for your reference:

http://blogs.technet.com/b/tothesharepoint/archive/2013/09/11/how-to-display-values-from-custom-managed-properties-in-search-results-option-1.aspx

Best Regards,

Dean Wang

August 3rd, 2015 10:05pm

Hi Dean,

I am trying to display those fields on the hover panel. I have customized this hover panel as mentioned in above article. 

For debug purpose i am using following code to print all coming fields/properties, but still properties are not coming in result:

<div >
<!--#_ 
        if(!$isNull(ctx.CurrentItem)){
            for (var key in ctx.CurrentItem)
            {
                var value = ctx.CurrentItem[key];
_#-->
                <div> _#= $htmlEncode(key) =#_ : _#= $htmlEncode(value) =#_ </div>
<!--#_ 
            }
        }
_#-->
</div>

And the strange thing is when I search for 'managed property' in Search schema at SharePoint Admin center, i get something like below :

PROPERTY NAME TYPE MULTI QUERY SEARCH RETRIEVE REFINE SORT SAFE MAPPED CRAWLED PROPERTIES ALIASES
EventDateOWSDATE Open Menu
Text - Query - Retrieve - - - ows_q_DATE_EventDate EventDateOWSDATE

I just got on managed property which has 'EventDate' and which is not searchable. And when tried to edit it the option is disabled. 

Don't know what to do now.

Regards,

Rahul Shinde.


Free Windows Admin Tool Kit Click here and download it now
August 5th, 2015 2:30am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics