Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Way to return results with highlight searched terms #4

Open
blakeloverain opened this issue May 7, 2015 · 1 comment
Open

Way to return results with highlight searched terms #4

blakeloverain opened this issue May 7, 2015 · 1 comment

Comments

@blakeloverain
Copy link

The old CakePHP ElasticSearch plugin (https://github.com/kvz/cakephp-elasticsearch-plugin) had a way to highlight search terms with the results. Is there a way to feasibly do this with this plugin/behavior? Can the highlight parameter (http://www.elastic.co/guide/en/elasticsearch/guide/master/highlighting-intro.html) be passed to ElasticSearch from the model?

@blakeloverain
Copy link
Author

At a bare minimum, it would be helpful to open up _esSearchRawResults() via a public method, so more than just the association keys can be dealt with. Perhaps the right approach is to develop a wrapper plugin that inherits from the ElasticSearch plugin?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant