We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is compatible with 6.3 version ? I'am not getting any results.. Any working example? Thank you
The text was updated successfully, but these errors were encountered:
I had to modify the 'body' attribute to something like this:
export const PostsElasticIndex = new Index({ collection: Posts, name: 'postsElasticIndex', fields: ['title','content'], engine: new ElasticSearchEngine({ body: function(body, options) { delete body.fields; delete body.sort; body._source= '_id'; return body; } // modify the body that's sent when searching }), defaultSearchOptions: { limit: 25 }, // default options when searching })
Sorry, something went wrong.
No branches or pull requests
This is compatible with 6.3 version ? I'am not getting any results.. Any working example? Thank you
The text was updated successfully, but these errors were encountered: