I'm trying to search through my org content by a date range and the query doesn't appear to work.
No errors, but no returned results either.
Any ideas?
gis <SPAN class="operator token">=</SPAN> GIS<SPAN class="punctuation token">(</SPAN>portal<SPAN class="punctuation token">,</SPAN> username<SPAN class="punctuation token">,</SPAN> password<SPAN class="punctuation token">)</SPAN>
cm <SPAN class="operator token">=</SPAN> ContentManager<SPAN class="punctuation token">(</SPAN>gis<SPAN class="punctuation token">)</SPAN>
<SPAN class="comment token">#modified: [2018-01-01 TO 2018-05-09]</SPAN>
cmItems <SPAN class="operator token">=</SPAN> cm<SPAN class="punctuation token">.</SPAN>search<SPAN class="punctuation token">(</SPAN>query <SPAN class="operator token">=</SPAN> <SPAN class="string token">'modified: [1514728800000 TO 1525788000000]'</SPAN><SPAN class="punctuation token">,</SPAN> max_items <SPAN class="operator token">=</SPAN> <SPAN class="number token">1000</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>