-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
https://www.elastic.co/guide/en/elasticsearch/reference/current/nested.html
Here is a workaround
schema(:my_index) do
attribute :authors,
Types::Object.meta(
type: 'nested',
properties: {
'person_name': { 'type': 'text' }
}
)
endthat should be rewritten as following:
schema(:my_index) do
attribute :authors, Types::Nested do
attribute :person_name, Types.Text
end
endMetadata
Metadata
Assignees
Labels
No labels