Skip to content

Commit

Permalink
Updated indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
StrahinjaJacimovic committed Jun 28, 2024
1 parent f3111c3 commit c0ed0b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/index.py
Original file line number Diff line number Diff line change
@@ -103,8 +103,8 @@ def index_release_to_elasticsearch(es : Elasticsearch, index_name, release_detai
metadata_content.append(fetch_json_data(metadata_download_url, token)[0])

for asset in release_details[0].get('assets', []):
# Do not index metadata
if asset['name'] == 'metadata.json':
# Do not index metadata or docs
if asset['name'] == 'metadata.json' or asset['name'] == 'docs.7z':
continue

update_package = True

0 comments on commit c0ed0b0

Please sign in to comment.