nicolasdarmadja
11 years agoGuide
Incorrect search result using date parameter
I'm doing a search to count the number of messaes for a certain period of time. I am using the method as specified in this previous question: "http://community.lithium.com/t5/Developers-Discussion/...
- 11 years ago
Hi nicolasdarmadja ,
your query for the ending date is wrong. it should be
start + "%20TO%20" + end + "%5D&collapse_discussion=false"
the query in fact is "q=date:[START_TIME TO END_TIME]", and with URL escape (http://www.w3schools.com/tags/ref_urlencode.asp),
the empty space(" ") goes to "%20", which is in front and after the "TO"