Lines 144-179
Searching:
Link Here
|
144 |
default: yes |
144 |
default: yes |
145 |
choices: |
145 |
choices: |
146 |
1: Enable |
146 |
1: Enable |
147 |
0: Disable |
147 |
0: "Don't enable" |
148 |
- Enable exporting search results. Records exceeding the ISO2709 record size will be send at separate MARC XML attachment regardless of chosen export format (Elasticsearch only). |
148 |
- exporting search results (Elasticsearch only). |
|
|
149 |
- "<p><strong>NOTE:</strong> Records exceeding the ISO2709 record size will show as separate MARC XML downloads regardless of the selected export format.</p>" |
149 |
- |
150 |
- |
150 |
- pref: ElasticsearchSearchResultExportCustomFormats |
151 |
- pref: ElasticsearchSearchResultExportCustomFormats |
151 |
type: textarea |
152 |
type: textarea |
152 |
syntax: text/x-yaml |
153 |
syntax: text/x-yaml |
153 |
class: code |
154 |
class: code |
154 |
- <p>Define custom export formats as a YAML list of associative arrays (Elasticsearch only).</p> |
155 |
- <p>Define custom export formats as a YAML list of associative arrays (Elasticsearch only).</p> |
155 |
- <p>Formats are defined using three properties, a required "<strong>name</strong>" and "<strong>fields</strong>" and an optional "<strong>multiple</strong>".</p> |
156 |
- <p>The custom export formats are defined using three properties:</p> |
156 |
- '<p><strong>name</strong>: the human readable name of the format exposed in the staff interface.</p>' |
157 |
- '<ul><li><strong>name</strong> (required): the human readable name of the format displayed in the staff interface.</li>' |
157 |
- '<p><strong>fields</strong>: a list of Elasticsearch fields to be included in the export.' |
158 |
- '<li><strong>fields</strong> (required): a list of Elasticsearch fields to include in the export (if <strong>fields</strong> has a single field, the export result will contain one value per row; for multiple fields, a CSV file is produced).</li>' |
158 |
- If <strong>fields</strong> has a single field the export result will contain one value per row, for multiple fields a CSV-file will be produced.</p> |
159 |
- '<li><strong>multiple</strong> (optional): ignore, join, or newline.</li></ul>' |
159 |
- '<p><strong>multiple</strong>: <i>ignore</i>|<i>join</i>|<i>newline</i></p>' |
160 |
- <p>The behavior when handling fields with multiple values:</p> |
160 |
- <p>The behavior when handling fields with multiple values.</p> |
161 |
- '<ul><li>ignore: the default option, only the first value is includedi and the rest are ignored.</li>' |
161 |
- '<p><i>ignore</i>: the default option, only the first value is included, the rest ignored.</p>' |
162 |
- '<li>join: multiple values are concatenated using | as a separator.</li>' |
162 |
- '<p><i>join</i>: multiple values are concatenated using \"|\" as a separator.</p>' |
163 |
- '<li>newline: a new line is inserted after each value (this option does not allow "<strong>fields</strong>" to contain multiple fields).</li></ul>' |
163 |
- '<p><i>newline</i>: a newline is inserted after each value. This option does not allow \"<strong>fields</strong>\" to contain multiple fields.</p>' |
|
|
164 |
- 'Example:</br>' |
164 |
- 'Example:</br>' |
165 |
- '- name: Biblionumbers<br />' |
165 |
- '- name: Biblionumbers<br />' |
166 |
- ' fields: [local-number]<br />' |
166 |
- ' fields: [local-number]<br />' |
167 |
- ' multiple: ignore<br />' |
167 |
- ' multiple: ignore<br />' |
168 |
- '- name: Title and author<br />' |
168 |
- '- name: Title and author<br />' |
169 |
- ' fields: [title, author]<br />' |
169 |
- ' fields: [title, author]<br />' |
170 |
- ' multiple: join<br /><br />' |
170 |
- ' multiple: join' |
171 |
- '<p>See also: <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EnableElasticsearchSearchResultExport">EnableElasticsearchSearchResultExport</a></p>' |
171 |
- '<p>See also: <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EnableElasticsearchSearchResultExport">EnableElasticsearchSearchResultExport</a></p>' |
172 |
- |
172 |
- |
173 |
- Limit export from search results to a maximum of |
173 |
- Limit export from search results to a maximum of |
174 |
- pref: ElasticsearchSearchResultExportLimit |
174 |
- pref: ElasticsearchSearchResultExportLimit |
175 |
class: integer |
175 |
class: integer |
176 |
- search result items (Elasticsearch only).<br /><br /> |
176 |
- search result items (Elasticsearch only). |
177 |
- '<p>See also: <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EnableElasticsearchSearchResultExport">EnableElasticsearchSearchResultExport</a></p>' |
177 |
- '<p>See also: <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=EnableElasticsearchSearchResultExport">EnableElasticsearchSearchResultExport</a></p>' |
178 |
Results display: |
178 |
Results display: |
179 |
- |
179 |
- |
180 |
- |
|
|