fullscale / elastic.js

A JavaScript implementation of the elasticsearch Query DSL
http://docs.fullscale.co/elasticjs/
MIT License
654 stars 163 forks source link

Fix highlighter type values #71

Closed vibragiel closed 10 years ago

vibragiel commented 10 years ago

As defined at the ElasticSearch highlighting reference, the valid values for the highlighter type field are plain, postings and fvh.

mattweber commented 10 years ago

Pulled this in and updated the tests. Thanks. See https://github.com/fullscale/elastic.js/commit/a437e60761659d60097fcc61be0b6e3980d43f72.