adding a date from the post_date column (wp_posts table) to the index

Tagged:
  • radeko
    Participant
    3 years, 3 months ago #23778

    Hi, I would like to add the post_date (date only) to the index. What would be the best way to do it?
    thank you

    wpsolr
    Keymaster
    3 years, 3 months ago #23780

    post_date is automatically index in the field “displaydate_dt” that you can use as a facet in screen 2.4

    radeko
    Participant
    3 years, 3 months ago #23781

    Thank you, I got it 🙂

    wpsolr
    Keymaster
    3 years, 3 months ago #23782

    You can use the range slider layout for your facet, with a great variety of settings, including country specific date formats:

    Range Slider Layout

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.