Search & Promote Query to fetch content based on dates
We are trying to write an S&P query to retrieve content based on the date when it was created. Our requirement is to fetch the content in a date(system defined field) range. We went through the documentation and came up with a query parameters format as shown below. We just wanted to know is it the correct way or is there a better way to do it.
http://adobesnpdomain.com/?sp_q_min_day_2=01&sp_q_max_day_2=04&sp_q_min_month_2=01&sp_q_ma x_month_2=03&sp_q_min_year_2=2014&sp_q_max_year_2=2015
So we have used the backed search fields please let us know if there is another way to do it and how the same could be done in case the date field is a custom field.