free_text_search_anywhere.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. [
  2. {
  3. "query": "hello what user.email:foo@example.com where release:1.2.1 when",
  4. "result": [
  5. {"type": "spaces", "value": ""},
  6. {"type": "freeText", "value": "hello what ", "quoted": false, "invalid": null},
  7. {"type": "spaces", "value": ""},
  8. {
  9. "type": "filter",
  10. "filter": "text",
  11. "negated": false,
  12. "key": {"type": "keySimple", "value": "user.email", "quoted": false},
  13. "operator": "",
  14. "value": {"type": "valueText", "value": "foo@example.com", "quoted": false}
  15. },
  16. {"type": "spaces", "value": " "},
  17. {"type": "freeText", "value": "where ", "quoted": false, "invalid": null},
  18. {"type": "spaces", "value": ""},
  19. {
  20. "type": "filter",
  21. "filter": "text",
  22. "negated": false,
  23. "key": {"type": "keySimple", "value": "release", "quoted": false},
  24. "operator": "",
  25. "value": {"type": "valueText", "value": "1.2.1", "quoted": false}
  26. },
  27. {"type": "spaces", "value": " "},
  28. {"type": "freeText", "value": "when", "quoted": false, "invalid": null},
  29. {"type": "spaces", "value": ""}
  30. ]
  31. },
  32. {
  33. "query": "hello",
  34. "result": [
  35. {"type": "spaces", "value": ""},
  36. {"type": "freeText", "value": "hello", "quoted": false, "invalid": null},
  37. {"type": "spaces", "value": ""}
  38. ]
  39. },
  40. {
  41. "query": " hello ",
  42. "result": [
  43. {"type": "spaces", "value": " "},
  44. {"type": "freeText", "value": "hello ", "quoted": false, "invalid": null},
  45. {"type": "spaces", "value": ""}
  46. ]
  47. },
  48. {
  49. "query": " hello there",
  50. "result": [
  51. {"type": "spaces", "value": " "},
  52. {"type": "freeText", "value": "hello there", "quoted": false, "invalid": null},
  53. {"type": "spaces", "value": ""}
  54. ]
  55. },
  56. {
  57. "query": " hello there:bye",
  58. "result": [
  59. {"type": "spaces", "value": " "},
  60. {"type": "freeText", "value": "hello ", "quoted": false, "invalid": null},
  61. {"type": "spaces", "value": ""},
  62. {
  63. "type": "filter",
  64. "filter": "text",
  65. "negated": false,
  66. "key": {"type": "keySimple", "value": "there", "quoted": false},
  67. "operator": "",
  68. "value": {"type": "valueText", "value": "bye", "quoted": false}
  69. },
  70. {"type": "spaces", "value": ""}
  71. ]
  72. }
  73. ]