edms: change schema
(The same changes need to be done in the file schema, as for us a file is )
-
"context" should not be just a string, but an object, with 2 string fields: "name" and "id" They should both be both "keyword" (exact match) and "text"
-
"author" should not be just a string, but an object with 3 string fields: "username" "fullname" "email" They should all be type "text" .
-
New field: "owner": string , keyword , outside of _data (not searchable in general query)
-
New field: "group": string , keyword, outside of _data (not searchable in general query)
-
New field: external_reference: string, both keyword and text , inside _data (searchable in general query)
-
"status" should not be searchable in general query (move outside of _data)
-
"parents" should not be searchable in general query (move outside of _data)
-
"object_properties" should not be searchable in general query (move outside of _data)