All Downloads are FREE. Search and download functionalities are using the official Maven repository.

elasticsearch.users.json Maven / Gradle / Ivy

There is a newer version: 1.3.0
Show newest version
{
  "settings": {
    "number_of_shards": "1",
    "number_of_replicas": "0",
    "index": {
      "analysis": {
        "filter": {
          "suggest_edgengram_filter": {
            "type": "edgeNGram",
            "min_gram": 1,
            "max_gram": 20
          }
        },
        "analyzer": {
          "email": {
            "tokenizer": "lowercase",
            "filter": [
              "lowercase",
              "suggest_edgengram_filter"
            ]
          },
          "default": {
            "tokenizer": "standard",
            "filter": [
              "lowercase",
              "asciifolding",
              "elision"
            ]
          },
          "suggest": {
            "tokenizer": "standard",
            "filter": [
              "lowercase",
              "asciifolding",
              "elision",
              "suggest_edgengram_filter"
            ]
          }
        }
      }
    }
  },
  "mappings": {
    "user": {
      "_all": {
        "enabled": false
      },
      "properties": {
        "summary": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "index": "not_analyzed"
            },
            "type": {
              "type": "string",
              "index": "not_analyzed"
            },
            "name": {
              "type": "string",
              "analyzer": "suggest",
              "search_analyzer": "default"
            },
            "description": {
              "type": "string",
              "analyzer": "suggest",
              "search_analyzer": "default"
            },
            "uri": {
              "type": "string",
              "index": "not_analyzed"
            }
          }
        },
        "dto": {
          "type": "object",
          "properties": {
            "id": {
              "type": "string",
              "index": "not_analyzed"
            },
            "firstname": {
              "type": "string",
              "analyzer": "suggest",
              "search_analyzer": "default"
            },
            "lastname": {
              "type": "string",
              "analyzer": "suggest",
              "search_analyzer": "default"
            },
            "identifier": {
              "type": "string",
              "analyzer": "suggest",
              "search_analyzer": "default"
            },
            "email": {
              "type": "string",
              "analyzer": "email",
              "search_analyzer": "default"
            },
            "activated": {
              "type": "boolean"
            },
            "civility": {
              "type": "string"
            },
            "company": {
              "type": "string",
              "fields": {
                "raw": {
                  "type":  "string",
                  "index": "not_analyzed"
                }
              }
            },
            "description": {
              "type": "string"
            },
            "function": {
              "type": "string",
              "fields": {
                "raw": {
                  "type":  "string",
                  "index": "not_analyzed"
                }
              }
            },
            "lastConnection": {
              "type": "long"
            },
            "passwordHash": {
              "type": "string"
            },
            "phone": {
              "type": "string"
            },
            "creationDate": {
              "type": "long"
            },
            "modificationDate": {
              "type": "long"
            },
            "creationUser": {
              "type": "string",
              "index": "not_analyzed"
            },
            "modificationUser": {
              "type": "string",
              "index": "not_analyzed"
            }
          }
        }
      }
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy