explicit_tags_in_filter.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. [
  2. {
  3. "query": "tags[fruit]:[apple, pear]",
  4. "result": [
  5. {"type": "spaces", "value": ""},
  6. {
  7. "type": "filter",
  8. "filter": "textIn",
  9. "negated": false,
  10. "key": {
  11. "type": "keyExplicitTag",
  12. "prefix": "tags",
  13. "key": {"type": "keySimple", "value": "fruit", "quoted": false}
  14. },
  15. "operator": "",
  16. "value": {
  17. "type": "valueTextList",
  18. "items": [
  19. {
  20. "separator": "",
  21. "value": {"type": "valueText", "value": "apple", "quoted": false}
  22. },
  23. {
  24. "separator": ", ",
  25. "value": {"type": "valueText", "value": "pear", "quoted": false}
  26. }
  27. ]
  28. }
  29. },
  30. {"type": "spaces", "value": ""}
  31. ]
  32. },
  33. {
  34. "query": "tags[fruit]:[\"apple wow\", \"pear\"]",
  35. "result": [
  36. {"type": "spaces", "value": ""},
  37. {
  38. "type": "filter",
  39. "filter": "textIn",
  40. "negated": false,
  41. "key": {
  42. "type": "keyExplicitTag",
  43. "prefix": "tags",
  44. "key": {"type": "keySimple", "value": "fruit", "quoted": false}
  45. },
  46. "operator": "",
  47. "value": {
  48. "type": "valueTextList",
  49. "items": [
  50. {
  51. "separator": "",
  52. "value": {"type": "valueText", "value": "apple wow", "quoted": true}
  53. },
  54. {
  55. "separator": ", ",
  56. "value": {"type": "valueText", "value": "pear", "quoted": true}
  57. }
  58. ]
  59. }
  60. },
  61. {"type": "spaces", "value": ""}
  62. ]
  63. }
  64. ]