Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0ssigeno committed Sep 27, 2024
1 parent 048e63e commit 72308ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions atlasq/queryset/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ def _set_indexed_fields(self, index_result: Union[Dict, List], base_field: str =
if base_field:
if lucene_type not in AtlasIndexType.values():
logger.warning(f"Lucene type {lucene_type} not configured")
return
self._indexed_fields[base_field] = lucene_type
else:
self._indexed_fields[base_field] = lucene_type

def _set_indexed_from_mappings(self, index_result: Dict):
mappings = index_result["mappings"]
Expand Down

0 comments on commit 72308ba

Please sign in to comment.