We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51ac887 commit 736839dCopy full SHA for 736839d
ravendb/documents/indexes/definitions.py
@@ -244,7 +244,7 @@ def from_json(cls, json_dict: dict) -> IndexDefinition:
244
index_type = json_dict.get("IndexType", None)
245
if index_type is not None:
246
result.__index_type = IndexType(index_type)
247
- if json_dict["Configuration"] and json_dict["Configuration"]["Indexing.Static.SearchEngineType"]:
+ if json_dict["Configuration"] and "Indexing.Static.SearchEngineType" in json_dict["Configuration"]:
248
result.search_engine_type = SearchEngineType(json_dict["Configuration"]["Indexing.Static.SearchEngineType"])
249
result.output_reduce_to_collection = json_dict["OutputReduceToCollection"]
250
result.reduce_output_index = json_dict["ReduceOutputIndex"]
0 commit comments