Commit Graph

81 Commits

Author SHA1 Message Date
Sebastian Meyer ecd8ec8422
Merge branch 'master' into allow-multiple-filegrps 2021-03-23 13:51:13 +01:00
Sebastian Meyer 2c97b9c2c6
Use correct bibliographic terms 2021-03-10 10:31:00 +01:00
Alexander Bigga 64005ad42a Change language label 2021-03-07 11:51:54 +01:00
Alexander Bigga c7ca11c3fe
Merge branch '3.x' into search-plugin-enhance 2021-03-03 15:42:01 +01:00
Sebastian Meyer 63beb3a21b Allow multiple file groups 2021-02-17 20:08:21 +01:00
Sebastian Meyer 094d9ed1f1 Remove MIN from default fileGrps 2021-02-17 09:04:40 +01:00
Alexander Bigga a9497e0da2
Merge branch 'master' into search-plugin-enhance 2021-02-05 10:02:32 +01:00
Alexander Bigga 857f14faf5 Proposal: Show uptime in format like "uptime" on linux console.
uptime on Linux returns:

  23:41:18 up 4 days,  6:37,  1 user,  load average: 0,91, 0,99, 1,10

The first is the current time, followed by "up", the amount of days
which might be more than a year, followed by h:m.

The proposed output for Solr-uptime would be now:

  Uptime: 0 days, 00:22:56

This includes the seconds, too.

The solution before was:

  Uptime: 0:21:59.385

Which I find harder to read and not self-explaining.
2021-01-22 00:03:41 +01:00
Sebastian Meyer 54688f1d02 Change field label 2021-01-04 14:30:35 +01:00
Sebastian Meyer 83a3c0f104 Remove HSC 2021-01-04 14:27:38 +01:00
Sebastian Meyer a3c0a54d42 Remove flash message title 2021-01-04 14:15:41 +01:00
Sebastian Meyer 55592ee7cf Change FieldWizard to FieldInformation 2021-01-04 13:59:29 +01:00
Sebastian Meyer f71e10b463 Add Core status message 2021-01-04 12:15:35 +01:00
Sebastian Meyer 1a02c7ef2d Try another approach 2020-12-30 15:21:26 +01:00
Sebastian Meyer c167e08ec8 Fix indentation 2020-12-30 13:42:43 +01:00
Alexander Bigga 2a5cef60b9 Add structure type "inventory" and "subinventory".
This is used e.g. in

  * http://digital.slub-dresden.de/idDE-611-BF-42577
  * http://digital.slub-dresden.de/idDE-611-BF-60742
2020-12-29 14:08:28 +01:00
Sebastian Meyer 11819891d2
Merge branch 'master' into fix-solarium-upgrade 2020-12-28 11:03:59 +01:00
Alexander Bigga 8f7f4e7d86 Add the listview plugin to the new content element wizard.
This seems to be forgotten. An Icon already exists for it.
2020-12-23 16:24:35 +01:00
Sebastian Meyer 366c9ae2d1 Make core deletion configurable 2020-12-23 09:13:42 +01:00
Sebastian Meyer b9ca493018 Update Solarium to 5.2.x 2020-12-20 16:06:00 +01:00
Beatrycze Volk 348f18964f Change duplicated plugin to switch which changes full text behavior 2020-12-14 17:52:50 +01:00
Beatrycze Volk 12355f4cd9 Add full text download tool and duplicate full text display for always
active display
2020-12-14 15:26:56 +01:00
Beatrycze Volk dc758aebf1
Apply suggestions from code review
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
2020-12-08 16:29:47 +01:00
Beatrycze Volk 446a4345d4 Update Solarium to 5.1.6 2020-12-01 16:27:57 +01:00
Alexander Bigga d312b1d8ee Fix search in documents for hierarchical documents like newspaper.
== Current Situation

The search plugin has the option to restrict the search in current
document and/or in current collection. This can be used to place the
plugin on a separate page to search only in one collection. Or you place
the plugin on the workview page and trigger a search in document.

Of course, the SearchInDocument plugin is better suited for the workview as the results are reported by via AJAX and the visitor will stay on the current page.

On the opposite, using the search plugin makes it possible to search
in all issues of a newspaper year or even a full newspaper title. At
least, this should be possible. The current implementation does not work
as expected.

=== Example

==== Search plugin on workview (issue)

For example, you can place the plugin on level of a newspaper issue. If
you launch a search, the current implementation will search not only in
current issue but in all issues of the current year. This is a
frequently demanded feature but works only by hasard.

newspaper title (anchor)
   |
   |-> year
        |
        |-> Issue

The current search plugin does two mistakes:

1. Instead of the current document uid, the parent uid is set.
2. The search is done in given uid and all children.

==== Search plugin on workview (year/anchor)

If you place the search plugin on the workview with calendar view, the
search fails.

Same procedure as above. The search will be done in the anchor and it's
children (years). All these files have no fulltexts. So the result is
always empty.

== Proposed Implementation

The proposed implementation does change the searchIn document limitation
of the search plugin to search in current document _and_ all it's children.

This is done on using Solr join feature. To make this possible, the
partof field must use the docValues feature as "uid" does it already.
2020-11-20 16:16:48 +01:00
Sebastian Meyer 79838ac0f3
Consistent naming 2020-05-13 16:22:09 +02:00
Sebastian Meyer be7f0ff07f
Consistent naming 2020-05-13 16:21:50 +02:00
Sebastian Meyer 04abdcdba6
Consistent naming 2020-05-13 16:21:27 +02:00
Sebastian Meyer 58ee2f7161
Consistent naming 2020-05-13 16:21:04 +02:00
Sebastian Meyer 301df55c5d
Consistent naming 2020-05-13 16:20:32 +02:00
Sebastian Meyer d1f563be06
Consistent naming 2020-05-13 16:20:07 +02:00
Sebastian Meyer bdb7a64a30
Consistent naming 2020-05-13 16:19:33 +02:00
Sebastian Meyer c67cd2ee13
Consistent naming 2020-05-13 16:18:57 +02:00
Sebastian Meyer ddd03d60c4
Consistent naming 2020-05-13 16:18:19 +02:00
Sebastian Meyer 0a1853f38c
Consistent naming 2020-05-13 16:17:57 +02:00
Sebastian Meyer fcd5c4e8f9
Consistent naming 2020-05-13 16:17:38 +02:00
Sebastian Meyer 9b2eb6b43f
Consistent naming 2020-05-13 16:17:20 +02:00
Sebastian Meyer 17a2fea9e2
Consistent naming 2020-05-13 16:16:56 +02:00
Sebastian Meyer d4f822b160
Consistent naming 2020-05-13 16:16:33 +02:00
Sebastian Meyer ced91e5caf
Consistent naming 2020-05-13 16:16:01 +02:00
Sebastian Meyer 7137f1b922
Merge branch 'master' into ce-wizard-support 2020-05-13 14:36:33 +02:00
Erik Konrad 24a9d6deb1 Content Element Wizard Support for Kitodo Presentation 2020-05-13 13:41:01 +02:00
Sebastian Meyer 6dc5251837
Fix typo in translation 2020-05-11 10:31:25 +02:00
Sebastian Meyer bee16793db
Merge branch 'master' into enhance-search-in-document-2 2020-05-11 10:16:16 +02:00
Alexander Bigga 94a631297b Show information if nothing was found in SearchInDocument tool. 2020-05-08 17:25:43 +02:00
Sebastian Meyer 4f1516e289
Merge branch 'master' into add-javascript-to-body 2020-04-27 17:02:04 +02:00
Sebastian Meyer b37844559c Improve documentation 2020-04-24 15:06:41 +02:00
Sebastian Meyer f9dab2ec59 Add options to AudioPlayer 2020-04-23 16:58:26 +02:00
Sebastian Meyer 42ebd6aa3f Add option to put JS in template 2020-04-23 16:42:29 +02:00
Sebastian Meyer 03581bc3d8 Make usage of absolute links configurable 2020-04-23 12:34:31 +02:00