Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $params = [
- 'index' => 'aksjeregisteret2017',
- 'type' => '_doc',
- 'field' => ['Company']
- ];
- $response = $es->get($params);
- $params = [
- 'index' => 'aksjeregisteret2017',
- 'type' => '_doc',
- ];
- $params['body']['_source' ]= 'Company';
- $params['body']['query']['match_all']['boost'] = 1.2;
- $response = $es->search($params);
Add Comment
Please, Sign In to add comment