Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I want to use the create date to order pages returned from Examine search, but that field does not seem to be there. I have added but only update appears in the results. Does anyone know how to use create date?
<IndexAttributeFields> <add Name="id" /> <add Name="nodeName" /> <add Name="updateDate" EnableSorting="true" Type="DateTime" /> <add Name="writerName" /> <add Name="nodeTypeAlias" /> <add Name="date" /> <add Name="Last-Modified" /> <add Name="Last-Save-Date" /> <add Name="modified" /> <add Name="creation-date" /> <add Name="created" /> <add Name="Creation-Date" /> </IndexAttributeFields>
Umbraco 7.6.1
Thanks,
Hi Damon
Have you tried with "CreatedDate" or "CreateDate"?
<add Name="createdDate" EnableSorting="true" Type="DateTime" />
/Bjarne
Hi Bjarne,
added those thank, but
its still not appearing in the search results.
Tried re compiling and reindexing too.
Any ideas?
Is there only a submit of fields available to Examine search?
to get this working you need to follow this:
https://our.umbraco.org/forum/developers/extending-umbraco/25975-Examine-range-createDate
Kind Regards,
Okay, I sounds strange if create date not is available as update. Does it work without EnableSorting and Type attributes.
EnableSorting
Type
<IndexAttributeFields> <add Name="createDate" /> </IndexAttributeFields>
Otherwise I guess the createDate kan be added using GatheringContentData event:
http://staheri.com/my-blog/2015/march/custom-examine-indexing-using-umbraco-cache/
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Examine search and creation date
Hi,
I want to use the create date to order pages returned from Examine search, but that field does not seem to be there. I have added but only update appears in the results. Does anyone know how to use create date?
Umbraco 7.6.1
Thanks,
Hi Damon
Have you tried with "CreatedDate" or "CreateDate"?
/Bjarne
Hi Bjarne,
added those thank, but
its still not appearing in the search results.
Tried re compiling and reindexing too.
Any ideas?
Is there only a submit of fields available to Examine search?
Thanks,
Hi,
to get this working you need to follow this:
https://our.umbraco.org/forum/developers/extending-umbraco/25975-Examine-range-createDate
Kind Regards,
Okay, I sounds strange if create date not is available as update. Does it work without
EnableSorting
andType
attributes.Otherwise I guess the createDate kan be added using GatheringContentData event:
http://staheri.com/my-blog/2015/march/custom-examine-indexing-using-umbraco-cache/
/Bjarne
is working on a reply...