Skip to content

Commit

Permalink
strict
Browse files Browse the repository at this point in the history
  • Loading branch information
maxjakob committed Jan 31, 2025
1 parent 17b4466 commit 83e062a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions wikipedia/wikipedia-semantic-mapping.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,24 @@
{
"settings": {
"index.number_of_replicas": {{ number_of_replicas | default(0) }},
"index.number_of_shards": {{ number_of_shards | default(1) }}
"index.number_of_shards": {{ number_of_shards | default(1) }},
"index.mapper.dynamic": false
},
"mappings": {
"properties": {
"title": {
"dynamic": "strict",
"type": "text",
"copy_to": [
"title_semantic"
]
},
"title_semantic": {
"dynamic": "strict",
"type": "semantic_text"
},
"content": {
"type": "semantic_text",
"copy_to": [
"title_semantic"
]
},
"content_semantic": {
"dynamic": "strict",
"type": "semantic_text"
},
"namespace": {
Expand Down

0 comments on commit 83e062a

Please sign in to comment.