package docspell.query.internal

object Constants {

  val attachCount   = "attach.count"
  val attachId      = "attach.id"
  val cat           = "cat"
  val checksum      = "checksum"
  val conc          = "conc"
  val concEquipId   = "conc.equip.id"
  val concEquipName = "conc.equip.name"
  val concPersId    = "conc.pers.id"
  val concPersName  = "conc.pers.name"
  val content       = "content"
  val corr          = "corr"
  val corrOrgId     = "corr.org.id"
  val corrOrgName   = "corr.org.name"
  val corrPersId    = "corr.pers.id"
  val corrPersName  = "corr.pers.name"
  val customField   = "f"
  val customFieldId = "f.id"
  val date          = "date"
  val dateIn        = "dateIn"
  val due           = "due"
  val dueIn         = "dueIn"
  val exist         = "exist"
  val folder        = "folder"
  val folderId      = "folder.id"
  val id            = "id"
  val inbox         = "inbox"
  val incoming      = "incoming"
  val name          = "name"
  val names         = "names"
  val notPrefix     = '!'
  val notes         = "notes"
  val source        = "source"
  val tag           = "tag"
  val tagId         = "tag.id"
  val year          = "year"

  // operators
  val eqs  = '='
  val gt   = '>'
  val gte  = ">="
  val in   = "~="
  val like = ':'
  val lt   = '<'
  val lte  = "<="
  val neq  = "!="
}
