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
Hi Adam,
Is it possible to apply boost on Individual fields with the caret (^) notation? Like this sample:
{ "multi_match" : { "query" : "this is a test", "fields" : [ "subject^3", "message" ] } }
Source: http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#CO47-1
If it's possible, how to do this with your package? Something like this?
$client = new \Elasticsearch\Client(); $params = [ 'index' => 'default', 'type' => 'books' 'body' => [ 'multi_match' => [ 'query' => 'Moby Dick', 'fields' => ['title^3', 'author'] ] ] ]; $collection = new \Elasticquent\ElasticquentResultCollection($client->search($params), new Book);
The title field is three times as important as the author field.
title
author
Cheers, Tortue Torche
The text was updated successfully, but these errors were encountered:
See iverberk/larasearch#73 for a similar feature request on another Laravel Elastic Search package.
Sorry, something went wrong.
No branches or pull requests
Hi Adam,
Is it possible to apply boost on Individual fields with the caret (^) notation?
Like this sample:
Source: http://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#CO47-1
If it's possible, how to do this with your package?
Something like this?
The
title
field is three times as important as theauthor
field.Cheers,
Tortue Torche
The text was updated successfully, but these errors were encountered: