Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make ResultItem#[] call 'to_sym' on supplied key to better support mu…
…lti_value fields. Given a multi_field ``name`` with sub field ``ngrams`` and a query which highlights ``name.ngrams``, if we try to use the highlight with ``result.highlight['name.ngrams']`` we'll get nil even though inspect shows <Item name.ngrams: [".."]>. Doing ``result.highlight['name.ngrams'.to_sym] works as expected, but tire should do this for us.
- Loading branch information