Commit f7eb9903 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Merge branch 'encyclopedia-bugfix' into 'v0.9.0'

Fixed issue with searching materials that contain both band structure and DOS. Removed accidental comment.

See merge request !181
parents 8ef5bda9 b5e5ca2a
Pipeline #82795 canceled with stages
in 1 minute and 27 seconds
......@@ -330,7 +330,7 @@ class EncMaterialsResource(Resource):
filter=get_enc_filter(),
)
# s = Search(index=config.elastic.index_name)
s = Search(index=config.elastic.index_name)
s = s.query(bool_query)
s.aggs.bucket("materials", agg_parent)
buckets_path = {x: "{}._count".format(x) for x in requested_properties}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment