Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query DSL #27

Open
kod-kristoff opened this issue Nov 7, 2018 · 0 comments
Open

Query DSL #27

kod-kristoff opened this issue Nov 7, 2018 · 0 comments
Labels

Comments

@kod-kristoff
Copy link
Member

kod-kristoff commented Nov 7, 2018

Query operators

freetext

  • freetext|<string>
  • freetext|<integer>
  • freetext||and|<string1>|<string2>
  • freetext||or|<string1>|<string2>
  • freetext||not|<string>
  • freetext||not|<string1>|<string2>

freergxp

  • freergxp|<regex>
  • freergxp||and|<regex1>|<regex2>
  • freergxp||or|<regex1>|<regex2>
  • freergxp||not|<regex>

exists

  • exists|<string>
  • exists||and|<string1>|<string2>
  • exists||or|<string1>|<string2>
  • exists||not|<string>

missing

  • missing|<string>
  • missing||and|<string1>|<string2>
  • missing||or|<string1>|<string2>
  • missing||not|<string>

equals

  • equals|<string>|<any>
  • equals||and|<string1>|<string2>||<string3>
  • equals||and|<string1>|<string2>||and|<string3>|<string4>
  • equals||and|<string1>|<string2>||or|<string3>|<string4>
  • equals||and|<string1>|<string2>||not|<string3>
  • equals||or|<string1>|<string2>||<string3>
  • equals||or|<string1>|<string2>||and|<string3>|<string4>
  • equals||or|<string1>|<string2>||or|<string3>|<string4>
  • equals||or|<string1>|<string2>||not|<string3>
  • equals||not|<string1>||<string2> See Problem when combing NOT with field in queries #123
  • equals||not|<string1>||and|<string2>|<string3>
  • equals||not|<string1>||or|<string2>|<string3>
  • equals||not|<string1>||not|<string2>
  • equals|<string1>||and|<string2>|<string3>
  • equals|<string1>||or|<string2>|<string3>
  • equals|<string1>||not|<string2>

Regex query operators

regexp

  • regexp|<string>|<regex>
  • regexp||and|<string1>|<string2>||<regex1>
  • regexp||and|<string1>|<string2>||and|<regex1>|<regex2>
  • regexp||and|<string1>|<string2>||or|<regex1>|<regex2>
  • regexp||and|<string1>|<string2>||not|<regex1>
  • regexp||or|<string1>|<string2>||<regex1>
  • regexp||or|<string1>|<string2>||and|<regex1>|<regex2>
  • regexp||or|<string1>|<string2>||or|<regex1>|<regex2>
  • regexp||or|<string1>|<string2>||not|<regex1>
  • regexp||not|<string>||<regex> See Problem when combing NOT with field in queries #123
  • regexp||not|<string>||and|<regex1>|<regex2>
  • regexp||not|<string>||or|<regex1>|<regex2>
  • regexp||not|<string>||not|<regex>
  • regexp|<string>||and|<regex1>|<regex2>
  • regexp|<string>||or|<regex1>|<regex2>
  • regexp|<string>||not|<regex>

contains

  • contains|<string>|<string>
  • contains||and|<string1>|<string2>||<string3>
  • contains||and|<string1>|<string2>||and|<string3>|<string4>
  • contains||and|<string1>|<string2>||or|<string3>|<string4>
  • contains||and|<string1>|<string2>||not|<string3>
  • contains||or|<string1>|<string2>||<string3>
  • contains||or|<string1>|<string2>||and|<string3>|<string4>
  • contains||or|<string1>|<string2>||or|<string3>|<string4>
  • contains||or|<string1>|<string2>||not|<string3>
  • contains||not|<string1>||<string2> See Problem when combing NOT with field in queries #123
  • contains||not|<string1>||and|<string2>|<string3>
  • contains||not|<string1>||or|<string2>|<string3>
  • contains||not|<string1>||not|<string2>
  • contains|<string1>||and|<string2>|<string3>
  • contains|<string1>||or|<string2>|<string3>
  • contains|<string1>||not|<string2>

startswith

  • startswith|<string>|<string>
  • startswith||and|<string1>|<string2>||<string3>
  • startswith||and|<string1>|<string2>||and|<string3>|<string4>
  • startswith||and|<string1>|<string2>||or|<string3>|<string4>
  • startswith||and|<string1>|<string2>||not|<string3>
  • startswith||or|<string1>|<string2>||<string3>
  • startswith||or|<string1>|<string2>||and|<string3>|<string4>
  • startswith||or|<string1>|<string2>||or|<string3>|<string4>
  • startswith||or|<string1>|<string2>||not|<string3>
  • startswith||not|<string1>||<string2> See Problem when combing NOT with field in queries #123
  • startswith||not|<string1>||and|<string2>|<string3>
  • startswith||not|<string1>||or|<string2>|<string3>
  • startswith||not|<string1>||not|<string2>
  • startswith|<string1>||and|<string2>|<string3>
  • startswith|<string1>||or|<string2>|<string3>
  • startswith|<string1>||not|<string2>

endswith

  • endswith|<string>|<string>
  • endswith||and|<string1>|<string2>||<string3>
  • endswith||and|<string1>|<string2>||and|<string3>|<string4>
  • endswith||and|<string1>|<string2>||or|<string3>|<string4>
  • endswith||and|<string1>|<string2>||not|<string3>
  • endswith||or|<string1>|<string2>||<string3>
  • endswith||or|<string1>|<string2>||and|<string3>|<string4>
  • endswith||or|<string1>|<string2>||or|<string3>|<string4>
  • endswith||or|<string1>|<string2>||not|<string3>
  • endswith||not|<string1>||<string2> See Problem when combing NOT with field in queries #123
  • endswith||not|<string1>||and|<string2>|<string3>
  • endswith||not|<string1>||or|<string2>|<string3>
  • endswith||not|<string1>||not|<string2>
  • endswith|<string1>||and|<string2>|<string3>
  • endswith|<string1>||or|<string2>|<string3>
  • endswith|<string1>||not|<string2>

Range query operators

lt

  • lt|<string>|<any>
  • lt|<string>|<integer>
  • lt|<string>|<string>
  • lt||and|<string1>|<string2>||<integer>
  • lt||and|<string1>|<string2>||<string>
  • lt||or|<string1>|<string2>||<integer>
  • lt||or|<string1>|<string2>||<string>
  • lt||not|<string>||<integer>
  • lt||not|<string>||<string>

lte

  • lte|<string>|<any>
  • lte|<string>|<integer>
  • lte|<string>|<string>
  • lte||and|<string1>|<string2>||<integer>
  • lte||and|<string1>|<string2>||<string>
  • lte||or|<string1>|<string2>||<integer>
  • lte||or|<string1>|<string2>||<string>
  • lte||not|<string>||<integer>
  • lte||not|<string>||<string>

gt

  • gt|<string>|<any>
  • gt|<string>|<integer>
  • gt|<string>|<string>
  • gt||and|<string1>|<string2>||<integer>
  • gt||and|<string1>|<string2>||<string>
  • gt||or|<string1>|<string2>||<integer>
  • gt||or|<string1>|<string2>||<string>
  • gt||not|<string>||<integer>
  • gt||not|<string>||<string>

gte

  • gte|<string>|<any>
  • gte|<string>|<integer>
  • gte|<string>|<string>
  • gte||and|<string1>|<string2>||<integer>
  • gte||and|<string1>|<string2>||<string>
  • gte||or|<string1>|<string2>||<integer>
  • gte||or|<string1>|<string2>||<string>
  • gte||not|<string>||<integer>
  • gte||not|<string>||<string>

range?

Logical operators

  • and for joining querys, and||<query1>||<query2>
  • and for joining querys, and||<query1>||<query2>||<query3>
  • or for joining querys, or||<query1>||<query2>
  • not for negating querys, not||<query>
  • and for combing arguments, see above
  • or for combing arguments, see above
  • not for negating arguments, see above

Functions in querys

@kod-kristoff kod-kristoff changed the title Implement query Query API Nov 8, 2018
@kod-kristoff kod-kristoff removed the Epic label Nov 8, 2018
@kod-kristoff kod-kristoff changed the title Query API Implement query Nov 8, 2018
@majsan majsan added this to the Sprint H2018-04 milestone Nov 13, 2018
@kod-kristoff kod-kristoff self-assigned this Nov 26, 2018
@kod-kristoff kod-kristoff removed their assignment Jan 30, 2019
@kod-kristoff kod-kristoff changed the title Implement query Query DSL Mar 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants