Skip to content

Commit

Permalink
fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Sep 4, 2020
1 parent f4e1f59 commit f23de5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ocr/create-solr-docs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ foreach ($base_file in $base_files) {

Write-Host $base_file

$json = (Get-Content $base_file -Raw) | ConvertFrom-Json
# some docs have both "created" and "Created", which needs the -asHashtable
$json = (Get-Content $base_file -Raw) | ConvertFrom-Json #-AsHashtable
$tika_content = [xml]$json.'X-TIKA:content'

Write-Host $json
Expand Down

0 comments on commit f23de5f

Please sign in to comment.