Skip to content

Commit

Permalink
Index prefixes for text fields
Browse files Browse the repository at this point in the history
Closes #293
  • Loading branch information
bkis committed Aug 29, 2024
1 parent d73bee2 commit 7622bde
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Tekst-API/tekst/resources/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def rtype_index_doc_props(cls) -> dict[str, Any]:
"type": "text",
"analyzer": "standard_no_diacritics",
"fields": {"strict": {"type": "text"}},
"index_prefixes": {},
},
}

Expand Down
1 change: 1 addition & 0 deletions Tekst-API/tekst/resources/external_references.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def rtype_index_doc_props(cls) -> dict[str, Any]:
"type": "text",
"analyzer": "standard_no_diacritics",
"fields": {"strict": {"type": "text"}},
"index_prefixes": {},
},
}

Expand Down
1 change: 1 addition & 0 deletions Tekst-API/tekst/resources/images.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def rtype_index_doc_props(cls) -> dict[str, Any]:
"type": "text",
}
},
"index_prefixes": {},
},
}

Expand Down
1 change: 1 addition & 0 deletions Tekst-API/tekst/resources/plain_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def rtype_index_doc_props(cls) -> dict[str, Any]:
"type": "text",
}
},
"index_prefixes": {},
},
}

Expand Down
1 change: 1 addition & 0 deletions Tekst-API/tekst/resources/rich_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def rtype_index_doc_props(cls) -> dict[str, Any]:
"type": "text",
}
},
"index_prefixes": {},
},
}

Expand Down

0 comments on commit 7622bde

Please sign in to comment.