Skip to content

Commit

Permalink
Remove leftover/defunct blocks_plaintext handling
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Dec 1, 2023
1 parent da9b040 commit e62be7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
5 changes: 4 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ Changelog
- Fix: Add missing ``zope.schema._field.Set`` to examples mapping. [jensens]
- Enhancement: Move vocabulary and section handling to preprocessing.
Turn ``ingest`` package into module. [jensens]
- Fix: Get OPENSEARCH from c.e.ingest module and do not dup here. [jensens]
- Fix: Get OPENSEARCH from c.e.ingest module and do n`ot dup here. [jensens]
- Fix: Remove leftover/defunct blocks_plaintext handling.
This was moved already to preprocessing. [jensens]


2.0.0rc4 (2023-11-28)
---------------------
Expand Down
9 changes: 0 additions & 9 deletions src/collective/elastic/ingest/mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,6 @@ def create_or_update_mapping(full_schema, index_name: str) -> None:
continue
map_field(field, properties, fqfieldname, seen)

# Mapping for blocks_plaintext (not a schema field, but received from api expansion "collectiveelastic")
# TODO: handle this with preprocessings.json
map_field(
dict(name="blocks_plaintext", field="blocks_plaintext"),
properties,
"blocks_plaintext",
seen,
)

STATE["initial"] = False
if index_exists:
if json.dumps(original_mapping["mappings"], sort_keys=True) == json.dumps(
Expand Down

0 comments on commit e62be7b

Please sign in to comment.