Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
subugoe
metsimporter
Commits
f7a00431
Commit
f7a00431
authored
Jun 02, 2022
by
Joerg-Holger Panzer
Browse files
Exclude http reference for internalContent
parent
a4f21047
Pipeline
#300733
passed with stages
in 7 minutes and 48 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
indexer/index/elasticsearch.go
View file @
f7a00431
...
...
@@ -226,9 +226,9 @@ func getPhysStructure(physMeta types.PhysicalAttributes,
esPhys
.
PageKey
=
esPhys
.
ID
esPhys
.
Page
=
fileAttr
.
Page
esPhys
.
Phys
=
physMeta
.
ID
//
if isExternal {
esPhys
.
PageHRef
=
fileAttr
.
Href
//
}
if
isExternal
{
esPhys
.
PageHRef
=
fileAttr
.
Href
}
if
ccontext
!=
"olahds"
{
infojsonkey
:=
fmt
.
Sprintf
(
config
.
ExportKeyPatternInfoJson
,
workID
,
fileAttr
.
Page
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment