Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "person": {
- "properties": {
- "name": {
- "_boost": 5.0,
- "properties": {
- "first_name": {
- "type": "string",
- "store": "yes",
- "analyzer": "whitespace",
- "_boost": 4.0
- },
- "last_name": {
- "type": "string",
- "store": "yes"
- }
- }
- },
- "username": {
- "_boost": 5.0,
- "type": "string",
- "store": "yes",
- "index": "not_analyzed"
- },
- "email": {
- "type": "string",
- "store": "no",
- "index": "not_analyzed"
- },
- "job_title": {
- "type": "string",
- "store": "yes",
- "analyzer": "norwegian"
- },
- "job_description": {
- "type": "string",
- "store": "yes",
- "_boost": 3.0,
- "analyzer": "norwegian"
- },
- "address": {
- "properties": {
- "office": {
- "type": "string",
- "store": "yes"
- },
- "street_address": {
- "type": "string",
- "store": "yes"
- },
- "postalcode": {
- "type": "string",
- "store": "yes",
- "index": "not_analyzed"
- },
- "city": {
- "type": "string",
- "store": "yes"
- }
- }
- },
- "phone": {
- "properties": {
- "job_phone": {
- "type": "string",
- "store": "yes",
- "analyzer": "phonenumber"
- },
- "job_phone2": {
- "type": "string",
- "store": "yes",
- "analyzer": "phonenumber"
- },
- "job_mobile": {
- "type": "string",
- "store": "yes",
- "analyzer": "phonenumber"
- },
- "private_mobile": {
- "type": "string",
- "store": "yes",
- "analyzer": "phonenumber"
- }
- }
- },
- "department": {
- "type": "string",
- "store": "yes",
- "analyzer": "whitespace"
- },
- "company": {
- "type": "string"
- },
- "tags": {
- "type": "string",
- "store": "yes",
- "analyzer": "norwegian",
- "_boost": 2.0
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment