Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Aaron 20 posts 180 karma points
    Feb 27, 2018 @ 14:00
    Aaron
    0

    Examine Search Date

    Hi,

    I have followed the tutorial here:

    https://codeshare.co.uk/blog/how-to-search-by-document-type-and-property-in-umbraco/

    To create a search function for my site, all is good except it won't search the date field, all i get is not results found.

    Any help as to why this is would be great!

    Thanks!

  • Alex Brown 129 posts 620 karma points
    Feb 27, 2018 @ 15:37
    Alex Brown
    0

    What field are you searching on and which index?

    If you're searching on the default index (External) and you're searching the last-updated field then you can search on the field "updateDate" and then if you wanted to see what which nodes were updated today's date then you'd search:

    updateDate: 20180227*

  • Aaron 20 posts 180 karma points
    Mar 01, 2018 @ 09:26
    Aaron
    100

    I had to rework the helper drastically to support wildcard searching which solved my problem perfectly.

    Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft