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.
Thanks for the response. We are using the system defined field "date" to store one of out metadata. So is it safe to assume that we can ignore giving a parameter such as "sp_x_2=date". I mean with the above query format we are getting the expected result. Our main concern was that is this the right way to query S&P using backend parameters. And about the spid I am not supposed to share that info in a forum.
So our requirement is that the end user would provide the start and the end dates and we use it to create the above query is that possible if we define it as a business rule I mean would the rule be able to take the user supplied dates.
And also what are the benefits of using it as a business rule or Pre-Search.