basic_fallthrough.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. [
  2. {
  3. "query": "random:<hello",
  4. "result": [
  5. {"type": "spaces", "value": ""},
  6. {
  7. "type": "filter",
  8. "filter": "text",
  9. "negated": false,
  10. "key": {"type": "keySimple", "value": "random", "quoted": false},
  11. "operator": "",
  12. "value": {"type": "valueText", "value": "<hello", "quoted": false}
  13. },
  14. {"type": "spaces", "value": ""}
  15. ]
  16. },
  17. {
  18. "query": "random:<512.1.0",
  19. "result": [
  20. {"type": "spaces", "value": ""},
  21. {
  22. "type": "filter",
  23. "filter": "text",
  24. "negated": false,
  25. "key": {"type": "keySimple", "value": "random", "quoted": false},
  26. "operator": "",
  27. "value": {"type": "valueText", "value": "<512.1.0", "quoted": false}
  28. },
  29. {"type": "spaces", "value": ""}
  30. ]
  31. },
  32. {
  33. "query": "random:2018-01-01",
  34. "result": [
  35. {"type": "spaces", "value": ""},
  36. {
  37. "type": "filter",
  38. "filter": "text",
  39. "negated": false,
  40. "key": {"type": "keySimple", "value": "random", "quoted": false},
  41. "operator": "",
  42. "value": {"type": "valueText", "value": "2018-01-01", "quoted": false}
  43. },
  44. {"type": "spaces", "value": ""}
  45. ]
  46. },
  47. {
  48. "query": "random:+7d",
  49. "result": [
  50. {"type": "spaces", "value": ""},
  51. {
  52. "type": "filter",
  53. "filter": "text",
  54. "negated": false,
  55. "key": {"type": "keySimple", "value": "random", "quoted": false},
  56. "operator": "",
  57. "value": {"type": "valueText", "value": "+7d", "quoted": false}
  58. },
  59. {"type": "spaces", "value": ""}
  60. ]
  61. },
  62. {
  63. "query": "random:>2018-01-01",
  64. "result": [
  65. {"type": "spaces", "value": ""},
  66. {
  67. "type": "filter",
  68. "filter": "text",
  69. "negated": false,
  70. "key": {"type": "keySimple", "value": "random", "quoted": false},
  71. "operator": "",
  72. "value": {"type": "valueText", "value": ">2018-01-01", "quoted": false}
  73. },
  74. {"type": "spaces", "value": ""}
  75. ]
  76. },
  77. {
  78. "query": "random:hello",
  79. "result": [
  80. {"type": "spaces", "value": ""},
  81. {
  82. "type": "filter",
  83. "filter": "text",
  84. "negated": false,
  85. "key": {"type": "keySimple", "value": "random", "quoted": false},
  86. "operator": "",
  87. "value": {"type": "valueText", "value": "hello", "quoted": false}
  88. },
  89. {"type": "spaces", "value": ""}
  90. ]
  91. },
  92. {
  93. "query": "random:123",
  94. "result": [
  95. {"type": "spaces", "value": ""},
  96. {
  97. "type": "filter",
  98. "filter": "text",
  99. "negated": false,
  100. "key": {"type": "keySimple", "value": "random", "quoted": false},
  101. "operator": "",
  102. "value": {"type": "valueText", "value": "123", "quoted": false}
  103. },
  104. {"type": "spaces", "value": ""}
  105. ]
  106. }
  107. ]