Skip to content

Commit

Permalink
Merge pull request #1518 from open-data/open-3582-django-search-recla…
Browse files Browse the repository at this point in the history
…ssification

OPEN-3582: Add advanced search for Reclassification PD to the Makefile
  • Loading branch information
thriuin authored Oct 4, 2024
2 parents 9a60d2f + 435388d commit 9567280
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/pd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,9 @@ rebuild-reclassification: $(workdir)/filtered/reclassification.csv $(workdir)/fi
@$(echo_date) Rebuilding Position Reclassification...
$(ckan_command) -c $(portal_ini) pd rebuild reclassification --lenient --has-nil \
-f "$(workdir)/filtered/reclassification.csv" -f "$(workdir)/filtered/reclassification-nil.csv"
@$(echo_date) Rebuilding Advanced Search...
@$(oc_search) import_data_csv --csv "$(workdir)/filtered/reclassification.csv" --search reclassification
@$(oc_search) import_data_csv --csv "$(workdir)/filtered/reclassification-nil.csv" --search reclassification --nothing_to_report

$(workdir)/reclassification.csv:
$(ckan_command) -c $(registry_ini) $(combine) reclassification -d $(workdir)
Expand Down
1 change: 1 addition & 0 deletions changes/1518.changes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Reclassification Search has been implemented on OC Search. For now, the Proactive Disclosure Makefile is being modified to rebuild both the Drupal and Django searches during the nightly rebuild.

0 comments on commit 9567280

Please sign in to comment.