- Update Mapping
This commit is contained in:
parent
da24396072
commit
57d07ec5c2
2 changed files with 12 additions and 0 deletions
|
|
@ -419,6 +419,7 @@ class MediaController extends Controller
|
|||
"type" => "most_fields",
|
||||
'fields' => [
|
||||
'libelle^3',
|
||||
'commentaire^2',
|
||||
'arcadia_id',
|
||||
'articles.libCcial',
|
||||
'articles.libMarq',
|
||||
|
|
|
|||
|
|
@ -79,6 +79,17 @@ class Media extends Model
|
|||
),
|
||||
'fielddata' => true
|
||||
),
|
||||
'commentaire' => array(
|
||||
'type' => 'text',
|
||||
'analyzer' => 'default',
|
||||
'fields' => array(
|
||||
'keyword' => array(
|
||||
'type' => 'keyword',
|
||||
'normalizer' => 'my_normalizer'
|
||||
)
|
||||
),
|
||||
'fielddata' => true
|
||||
),
|
||||
'created_at' => array(
|
||||
'type' => 'text',
|
||||
'fielddata' => true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue