Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Goethes Farbenlehre
gfl-importer
Commits
dc5a4cc2
Commit
dc5a4cc2
authored
Dec 10, 2020
by
jerome
Browse files
chg name and type to string from img path
parent
bb92c94d
Changes
2
Hide whitespace changes
Inline
Side-by-side
gfl-plugin/src/main/resources/gfl-indexer.xslt
View file @
dc5a4cc2
...
...
@@ -659,7 +659,7 @@ Refer to comments in the code to understand the used algorithm.
</field>
<!-- give me image contains var id -->
<xsl:variable
name=
"clean_image_id"
select=
"substring($image_id, 2)"
/>
<field
name=
"image_url
s
"
>
<field
name=
"image_url"
>
<xsl:value-of
select=
"img:get_path($clean_image_id, $context)"
/>
</field>
</xsl:if>
...
...
solr/gfl/conf/schema.xml
View file @
dc5a4cc2
...
...
@@ -95,7 +95,7 @@
<field
name=
"html_page"
type=
"text_de"
multiValued=
"false"
/>
<field
name=
"image_ids"
type=
"string"
multiValued=
"true"
/>
<field
name=
"image_urls"
type=
"string"
multiValued=
"true"
/>
<field
name=
"image_url"
type=
"string"
mulitValued=
"false"
/>
<!-- for doctype 'article' -->
<field
name=
"number_of_pages"
type=
"int"
/>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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