Advertisement
Guest User

Untitled

a guest
May 11th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 17.30 KB | None | 0 0
  1. {
  2.    "properties_web04_20180118": {
  3.       "aliases": {
  4.          "properties_web04": {}
  5.       },
  6.       "mappings": {
  7.          "134471918": {
  8.             "properties": {}
  9.          },
  10.          "property": {
  11.             "_all": {
  12.                "enabled": false
  13.             },
  14.             "properties": {
  15.                "addressHash": {
  16.                   "type": "string",
  17.                   "index": "not_analyzed",
  18.                   "doc_values": true
  19.                },
  20.                "bathroomsFull": {
  21.                   "type": "short",
  22.                   "doc_values": true
  23.                },
  24.                "bathroomsHalf": {
  25.                   "type": "short",
  26.                   "doc_values": true
  27.                },
  28.                "bathroomsTotal": {
  29.                   "type": "float",
  30.                   "doc_values": true
  31.                },
  32.                "bedroomsTotal": {
  33.                   "type": "short",
  34.                   "doc_values": true
  35.                },
  36.                "city": {
  37.                   "type": "string",
  38.                   "analyzer": "citysearch_keyword_analyzer",
  39.                   "fields": {
  40.                      "cityExact": {
  41.                         "type": "string",
  42.                         "index": "not_analyzed",
  43.                         "path": "just_name"
  44.                      }
  45.                   }
  46.                },
  47.                "county": {
  48.                   "type": "string",
  49.                   "analyzer": "citysearch_keyword_analyzer"
  50.                },
  51.                "fipsMuniCode": {
  52.                   "type": "integer",
  53.                   "doc_values": true
  54.                },
  55.                "fipsStateCode": {
  56.                   "type": "integer",
  57.                   "doc_values": true
  58.                },
  59.                "fullAddress": {
  60.                   "type": "string",
  61.                   "analyzer": "keyword_analyzer",
  62.                   "fields": {
  63.                      "autocomplete": {
  64.                         "type": "string",
  65.                         "index_analyzer": "edge_analyzer",
  66.                         "search_analyzer": "keyword_analyzer"
  67.                      }
  68.                   }
  69.                },
  70.                "fuzzyFullAddress": {
  71.                   "type": "string",
  72.                   "analyzer": "citysearch_keyword_analyzer",
  73.                   "fields": {
  74.                      "autocomplete": {
  75.                         "type": "string",
  76.                         "index_analyzer": "edge_analyzer",
  77.                         "search_analyzer": "citysearch_keyword_analyzer"
  78.                      }
  79.                   }
  80.                },
  81.                "geocodeQuality": {
  82.                   "type": "integer",
  83.                   "doc_values": true
  84.                },
  85.                "geocodeQualityId": {
  86.                   "type": "long"
  87.                },
  88.                "id": {
  89.                   "type": "string",
  90.                   "index": "not_analyzed",
  91.                   "doc_values": true
  92.                },
  93.                "lastUpdated": {
  94.                   "type": "date",
  95.                   "doc_values": true,
  96.                   "format": "dateOptionalTime"
  97.                },
  98.                "latitude": {
  99.                   "type": "float",
  100.                   "doc_values": true
  101.                },
  102.                "listings": {
  103.                   "type": "nested",
  104.                   "properties": {
  105.                      "allowedByRecos": {
  106.                         "type": "integer",
  107.                         "doc_values": true
  108.                      },
  109.                      "coListingAgent": {
  110.                         "properties": {
  111.                            "mLSAgentID": {
  112.                               "type": "long"
  113.                            }
  114.                         }
  115.                      },
  116.                      "coListingOffice": {
  117.                         "properties": {
  118.                            "mLSOfficeID": {
  119.                               "type": "long"
  120.                            }
  121.                         }
  122.                      },
  123.                      "imageCount": {
  124.                         "type": "long"
  125.                      },
  126.                      "listPriceHigh": {
  127.                         "type": "long"
  128.                      },
  129.                      "listPriceLow": {
  130.                         "type": "long"
  131.                      },
  132.                      "listPriceValueRangeFlg": {
  133.                         "type": "boolean"
  134.                      },
  135.                      "listingAgent": {
  136.                         "properties": {
  137.                            "mLSAgentID": {
  138.                               "type": "long"
  139.                            }
  140.                         }
  141.                      },
  142.                      "listingID": {
  143.                         "type": "integer",
  144.                         "doc_values": true
  145.                      },
  146.                      "listingNumber": {
  147.                         "type": "string"
  148.                      },
  149.                      "listingOffice": {
  150.                         "properties": {
  151.                            "mLSOfficeID": {
  152.                               "type": "long"
  153.                            }
  154.                         }
  155.                      },
  156.                      "listingSourceAllowsBrListings": {
  157.                         "type": "boolean"
  158.                      },
  159.                      "listingSourceID": {
  160.                         "type": "integer",
  161.                         "doc_values": true
  162.                      },
  163.                      "listingTypeID": {
  164.                         "type": "long"
  165.                      },
  166.                      "location": {
  167.                         "properties": {
  168.                            "country": {
  169.                               "type": "string"
  170.                            },
  171.                            "lastLine": {
  172.                               "type": "string"
  173.                            },
  174.                            "latitude": {
  175.                               "type": "double"
  176.                            },
  177.                            "longitude": {
  178.                               "type": "double"
  179.                            },
  180.                            "matchScore": {
  181.                               "type": "long"
  182.                            },
  183.                            "numberParts": {
  184.                               "type": "long"
  185.                            },
  186.                            "score": {
  187.                               "type": "double"
  188.                            },
  189.                            "unstructured": {
  190.                               "type": "string"
  191.                            }
  192.                         }
  193.                      },
  194.                      "mLSStatusID": {
  195.                         "type": "long"
  196.                      },
  197.                      "priceSort": {
  198.                         "type": "long"
  199.                      },
  200.                      "sellingAgent": {
  201.                         "properties": {
  202.                            "mLSAgentID": {
  203.                               "type": "long"
  204.                            }
  205.                         }
  206.                      },
  207.                      "sellingOffice": {
  208.                         "properties": {
  209.                            "mLSOfficeID": {
  210.                               "type": "long"
  211.                            }
  212.                         }
  213.                      },
  214.                      "version": {
  215.                         "type": "long"
  216.                      },
  217.                      "vowForRecos": {
  218.                         "type": "long"
  219.                      }
  220.                   }
  221.                },
  222.                "longitude": {
  223.                   "type": "float",
  224.                   "doc_values": true
  225.                },
  226.                "lotSizeSquareFeet": {
  227.                   "type": "float",
  228.                   "doc_values": true
  229.                },
  230.                "parcelNumber": {
  231.                   "type": "string",
  232.                   "index": "not_analyzed",
  233.                   "doc_values": true
  234.                },
  235.                "pin": {
  236.                   "type": "geo_point",
  237.                   "doc_values": true,
  238.                   "fielddata": {
  239.                      "format": "compressed",
  240.                      "loading": "eager",
  241.                      "precision": "3m"
  242.                   },
  243.                   "lat_lon": true
  244.                },
  245.                "propertyId": {
  246.                   "type": "integer",
  247.                   "doc_values": true
  248.                },
  249.                "state": {
  250.                   "type": "string",
  251.                   "index": "not_analyzed",
  252.                   "doc_values": true
  253.                },
  254.                "streetDirPrefix": {
  255.                   "type": "string",
  256.                   "analyzer": "directional_analyzer"
  257.                },
  258.                "streetDirSuffix": {
  259.                   "type": "string",
  260.                   "analyzer": "directional_analyzer"
  261.                },
  262.                "streetName": {
  263.                   "type": "string",
  264.                   "analyzer": "citysearch_analyzer"
  265.                },
  266.                "streetNumber": {
  267.                   "type": "string",
  268.                   "analyzer": "keyword_analyzer"
  269.                },
  270.                "streetSuffix": {
  271.                   "type": "string",
  272.                   "analyzer": "keyword_analyzer"
  273.                },
  274.                "unitNumber": {
  275.                   "type": "string",
  276.                   "analyzer": "keyword_analyzer"
  277.                },
  278.                "url": {
  279.                   "type": "string"
  280.                },
  281.                "useCodeStandard": {
  282.                   "type": "string",
  283.                   "index": "not_analyzed",
  284.                   "doc_values": true
  285.                },
  286.                "zip": {
  287.                   "type": "string",
  288.                   "index": "not_analyzed",
  289.                   "doc_values": true
  290.                }
  291.             }
  292.          },
  293.          "propertystreet": {
  294.             "_all": {
  295.                "enabled": false
  296.             },
  297.             "properties": {
  298.                "city": {
  299.                   "type": "string",
  300.                   "analyzer": "citysearch_keyword_analyzer"
  301.                },
  302.                "pin": {
  303.                   "type": "geo_point",
  304.                   "doc_values": true,
  305.                   "fielddata": {
  306.                      "format": "compressed",
  307.                      "loading": "eager",
  308.                      "precision": "3m"
  309.                   },
  310.                   "lat_lon": true
  311.                },
  312.                "propertyStreetId": {
  313.                   "type": "string",
  314.                   "index": "not_analyzed",
  315.                   "doc_values": true
  316.                },
  317.                "state": {
  318.                   "type": "string",
  319.                   "index": "not_analyzed",
  320.                   "doc_values": true
  321.                },
  322.                "streetDirPrefix": {
  323.                   "type": "string",
  324.                   "analyzer": "directional_analyzer"
  325.                },
  326.                "streetDirSuffix": {
  327.                   "type": "string",
  328.                   "analyzer": "directional_analyzer"
  329.                },
  330.                "streetName": {
  331.                   "type": "string",
  332.                   "analyzer": "citysearch_analyzer",
  333.                   "fields": {
  334.                      "autocomplete": {
  335.                         "type": "string",
  336.                         "index_analyzer": "edge_analyzer",
  337.                         "search_analyzer": "citysearch_analyzer"
  338.                      }
  339.                   }
  340.                },
  341.                "streetSuffix": {
  342.                   "type": "string",
  343.                   "analyzer": "keyword_analyzer"
  344.                }
  345.             }
  346.          }
  347.       },
  348.       "settings": {
  349.          "index": {
  350.             "creation_date": "1516917605347",
  351.             "analysis": {
  352.                "filter": {
  353.                   "multispace_replace": {
  354.                      "type": "pattern_replace",
  355.                      "pattern": "\\s+",
  356.                      "replacement": " "
  357.                   },
  358.                   "punctuation_replace": {
  359.                      "type": "pattern_replace",
  360.                      "pattern": "[^\\w\\s]|_",
  361.                      "replacement": ""
  362.                   }
  363.                },
  364.                "char_filter": {
  365.                   "filter_directional": {
  366.                      "type": "mapping",
  367.                      "mappings": [
  368.                         "north => n",
  369.                         "south => s",
  370.                         "east => e",
  371.                         "west => w",
  372.                         "northeast => ne",
  373.                         "northwest => nw",
  374.                         "southeast => se",
  375.                         "southwest => sw"
  376.                      ]
  377.                   },
  378.                   "filter_city": {
  379.                      "type": "mapping",
  380.                      "mappings": [
  381.                         "fort => ft",
  382.                         "mountain => mtn",
  383.                         "mount => mt",
  384.                         "valley => vly",
  385.                         "township => twp",
  386.                         "borough => boro",
  387.                         "beach => bch",
  388.                         "lake => lk",
  389.                         "saint => st"
  390.                      ]
  391.                   },
  392.                   "lowercase_replace": {
  393.                      "type": "mapping",
  394.                      "mappings": [
  395.                         "A => a",
  396.                         "B => b",
  397.                         "C => c",
  398.                         "D => d",
  399.                         "E => e",
  400.                         "F => f",
  401.                         "G => g",
  402.                         "H => h",
  403.                         "I => i",
  404.                         "J => j",
  405.                         "K => k",
  406.                         "L => l",
  407.                         "M => m",
  408.                         "N => n",
  409.                         "O => o",
  410.                         "P => p",
  411.                         "Q => q",
  412.                         "R => r",
  413.                         "S => s",
  414.                         "T => t",
  415.                         "U => u",
  416.                         "V => v",
  417.                         "W => w",
  418.                         "X => x",
  419.                         "Y => y",
  420.                         "Z => z"
  421.                      ]
  422.                   }
  423.                },
  424.                "analyzer": {
  425.                   "citysearch_analyzer": {
  426.                      "filter": [
  427.                         "lowercase",
  428.                         "asciifolding"
  429.                      ],
  430.                      "char_filter": [
  431.                         "lowercase_replace",
  432.                         "filter_directional",
  433.                         "filter_city"
  434.                      ],
  435.                      "type": "custom",
  436.                      "tokenizer": "standard"
  437.                   },
  438.                   "edge_analyzer": {
  439.                      "filter": [
  440.                         "lowercase",
  441.                         "asciifolding",
  442.                         "punctuation_replace",
  443.                         "multispace_replace"
  444.                      ],
  445.                      "char_filter": [
  446.                         "lowercase_replace",
  447.                         "filter_directional",
  448.                         "filter_city"
  449.                      ],
  450.                      "type": "custom",
  451.                      "tokenizer": "edge_tokenizer"
  452.                   },
  453.                   "directional_analyzer": {
  454.                      "filter": [
  455.                         "lowercase",
  456.                         "asciifolding"
  457.                      ],
  458.                      "char_filter": [
  459.                         "lowercase_replace",
  460.                         "filter_directional"
  461.                      ],
  462.                      "type": "custom",
  463.                      "tokenizer": "standard"
  464.                   },
  465.                   "keyword_analyzer": {
  466.                      "type": "custom",
  467.                      "filter": [
  468.                         "lowercase",
  469.                         "asciifolding",
  470.                         "punctuation_replace",
  471.                         "multispace_replace"
  472.                      ],
  473.                      "tokenizer": "keyword"
  474.                   },
  475.                   "citysearch_keyword_analyzer": {
  476.                      "filter": [
  477.                         "lowercase",
  478.                         "asciifolding",
  479.                         "punctuation_replace",
  480.                         "multispace_replace"
  481.                      ],
  482.                      "char_filter": [
  483.                         "lowercase_replace",
  484.                         "filter_directional",
  485.                         "filter_city"
  486.                      ],
  487.                      "type": "custom",
  488.                      "tokenizer": "keyword"
  489.                   }
  490.                },
  491.                "tokenizer": {
  492.                   "edge_tokenizer": {
  493.                      "type": "edgeNGram",
  494.                      "min_gram": "2",
  495.                      "max_gram": "30"
  496.                   }
  497.                }
  498.             },
  499.             "number_of_shards": "10",
  500.             "number_of_replicas": "1",
  501.             "version": {
  502.                "created": "1070599"
  503.             },
  504.             "uuid": "TMMaw0phSAu-F5Irs9Xx4w"
  505.          }
  506.       },
  507.       "warmers": {}
  508.    }
  509. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement