{"push_id":2644224617,"size":1,"distinct_size":1,"ref":"refs/heads/index-and-search-elasticsearch6","head":"4ee95a59086ed8ca5af58b1ce14765ed1b8c7bda","before":"f8ab770e1d42bf3024c78bad10fce4459f284b26","commits":[{"sha":"4ee95a59086ed8ca5af58b1ce14765ed1b8c7bda","author":{"name":"Robert Knight","email":"7d6396062c1c37a442c1ee8b1a738cb51dc63065@gmail.com"},"message":"Index annotations and search annotations in Elasticsearch 6\n\n - Add a `request.es6` property which returns a wrapper around a\n   connection to an Elasticsearch 6 cluster.\n\n - Initialize both the Elasticsearch 1 and Elasticsearch 6 clusters when\n   running `./bin/hypothesis init`, using mapping definitions compatible\n   with the version of ES 6 being initialized.\n\n - Create new mapping definitions (`ES6_ANNOTATION_MAPPING`) updated for ES6:\n\n   - Replace `string` fields with either `text` or `keyword`\n   - Replace `index_analyzer` with `analyzer` and remove\n     `search_analyzer` setting where it has the same value as the\n     `analyzer` field\n   - Replace `path` with `copy_to`\n   - Remove deprecated configuration of `id` field\n   - Remove fields from the mapping which we don't need to support\n     querying or filtering against. These are mostly left-over from when\n     Elasticsearch was the primary data store\n\n   See https://www.elastic.co/blog/great-mapping-refactoring for an\n   overview of mapping changes in ES 2.x and later.\n\n - Make indexing operations write to both the Elasticsearch 1 and\n   Elasticsearch 6 clusters.\n\n - Add `search_es6` feature flag to direct search queries to the ES 6\n   cluster instead of the ES 1 cluster.\n\n - When using ES 6 for search, modify query syntax appropriately.\n   In particular, replace usage of the deprecated `missing` query,\n   `or` filter, `not` filter and `filtered` query.\n\n   The `ignore_unmapped` option, deprecated in ES 1.4, has been replaced\n   with `unmapped_type` which exists in both ES 1.5 and ES 6.","distinct":true,"url":"https://api.github.com/repos/hypothesis/h/commits/4ee95a59086ed8ca5af58b1ce14765ed1b8c7bda"}]}
{"actor":{"display_login":"robertknight"}}