Not sure best place to post, hoping someone might have some insight. I am trying to do a search on Enterprise content. I am doing from Runtime but I believe the syntax is the same everywhere.
Based on the Search reference—ArcGIS REST API: Users, groups, and content | ArcGIS for Developers I should be able to do a range search on the date fields (I would love to just do a greater than search, but I can live with a range).
The sample shows:
created<SPAN class="operator token">:</SPAN> <SPAN class="punctuation token">[</SPAN><SPAN class="number token">1259692864000</SPAN> TO <SPAN class="number token">1260384065000</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
I have tried this and also tried with modified
modified<SPAN class="operator token">:</SPAN><SPAN class="punctuation token">[</SPAN><SPAN class="number token">1546326000000</SPAN> TO <SPAN class="number token">1551311005864</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
Neither of these work. I have setup the query to basically be from 1970 (=0) to today and nothing is returned. I have also tried the query using {} instead of []. Again nothing works.
Does anyone know how you query based on created or modified field?
Thanks
-Joe