Skip to content

Commit

Permalink
Redirect mode can now not be changed. Added Mementi properties to bundle
Browse files Browse the repository at this point in the history
also
  • Loading branch information
thomasegense committed Dec 30, 2023
1 parent 45e8ac8 commit ab8f3a0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions src/bundle/properties/solrwayback.properties
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,16 @@ pid.collection.name=netarkivet.dk
# Use normal for all warc-indexers version 3.2.0+
url.normaliser=normal

#Memento properties
#Memento Datetime negotiation property
# If set to true, the datetime negotiation will return HTTP 302 instead of 200
# Only redirect for playback is supported for now. Property below can not be changed
#memento.redirect=true
# Defines when to split memento timemap into paged timemaps
memento.timemap.paginglimit=5
# Defines how many individual mementos that are to be presented in each paged timemap
memento.timemap.pagesize=2

# Optional list of Solr-params. Format is key1=value1;key2=value2,...
#solr.search.params=f.url_norm.qf=url

Expand Down
5 changes: 3 additions & 2 deletions src/test/resources/properties/solrwayback_unittest.properties
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,11 @@ pid.collection.name=netarkivet.dk
# Use normal for all warc-indexers version 3.2.0+
url.normaliser=normal

# Memento properties
#Memento properties
#Memento Datetime negotiation property
# If set to true, the datetime negotiation will return HTTP 302 instead of 200
memento.redirect=false
# Only redirect for playback is supported for now. Property below can not be changed
#memento.redirect=true
# Defines when to split memento timemap into paged timemaps
memento.timemap.paginglimit=5
# Defines how many individual mementos that are to be presented in each paged timemap
Expand Down

0 comments on commit ab8f3a0

Please sign in to comment.