Bug 26247: Adding 2 Sysprefs for Search Terms
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / preferences / searching.pref
index f6b6981..71a7f64 100644 (file)
@@ -5,29 +5,29 @@ Searching:
             - pref: QueryAutoTruncate
               type: boolean
               choices:
-                  yes: automatically.
-                  no: only if * is added.
+                  1: automatically.
+                  0: only if * is added.
             - "<br />(The * character would be used like so: <cite>Har*</cite> or <cite>*logging</cite>.)"
         -
             - pref: QueryFuzzy
               type: boolean
               choices:
-                  yes: Try
-                  no: "Don't try"
-            - to match similarly spelled words in a search (for example, a search for <cite>flang</cite> would also match <cite>flange</cite> and <cite>fang</cite>; REQUIRES ZEBRA).
+                  1: Try
+                  0: "Don't try"
+            - to match similarly spelled words in a search (for example, a search for <cite>flang</cite> would also match <cite>flange</cite> and <cite>fang</cite>; Currently only affects Zebra searches. Any Elasticsearch term can be made fuzzy by adding a ~ directly after the term.).
         -
             - pref: QueryStemming
               type: boolean
               choices:
-                  yes: Try
-                  no: "Don't try"
+                  1: Try
+                  0: "Don't try"
             - to match words of the same base in a search (for example, a search for <cite>enabling</cite> would also match <cite>enable</cite> and <cite>enabled</cite>; REQUIRES ZEBRA).
         -
             - pref: QueryWeightFields
               type: boolean
               choices:
-                  yes: Enable
-                  no: Disable
+                  1: Enable
+                  0: Disable
             - ranking of search results by relevance (REQUIRES ZEBRA).
         -
             - pref: QueryRegexEscapeOptions
@@ -36,71 +36,71 @@ Searching:
                   escape: Escape
                   unescape_escaped: Unescape escaped
                   dont_escape: Don't escape
-            - "regular expressions within query strings. If \"Escape\" is selected occurences of \"/\" in search terms will be automatically escaped, and regular expressions interpreted as regular strings. If \"Unescape escaped\" is selected this will allow writing regular expressions \"\/like this\/\" while \"/this/\", \"or/this\" will be escaped and interpreted as regular strings. (Elasticsearch only.)"
-        -
-            - pref: OpacGroupResults
-              default: 0
-              choices:
-                  yes: Use
-                  no: "Don't use"
-            - PazPar2 to group similar results on the OPAC. This requires that PazPar2 is set up and running.
+            - "regular expressions within query strings. If \"Escape\" is selected occurences of \"/\" in search terms will be automatically escaped, and regular expressions interpreted as regular strings. If \"Unescape escaped\" is selected this will allow writing regular expressions \"\\/like this\\/\" while \"/this/\", \"or/this\" will be escaped and interpreted as regular strings. (Elasticsearch only.)"
         -
             - pref: TraceCompleteSubfields
               default: 0
               choices:
-                  yes: Force
-                  no: "Don't force"
-            - subject tracings in the OPAC and Staff Client to search only for complete-subfield matches.
+                  1: Force
+                  0: "Don't force"
+            - subject tracings in the OPAC and staff interface to search only for complete-subfield matches.
         -
             - pref: TraceSubjectSubdivisions
               default: 0
               choices:
-                  yes: Include
-                  no: "Don't include"
+                  1: Include
+                  0: "Don't include"
             - subdivisions for searches generated by clicking on subject tracings.
         -
-            - pref: UseICU
+            - pref: UseICUStyleQuotes
               default: 0
               choices:
-                  yes: Using
-                  no: "Not using"
-            - 'ICU Zebra indexing. Please note: This setting will not affect Zebra indexing, it should only be used to tell Koha that you have activated ICU indexing if you have actually done so, since there is no way for Koha to figure this out on its own.'
+                  1: Use
+                  0: "Don't use"
+            - 'ICU style quotes ({}) when tracing subjects. The default is to use standard quotes ("").'
         -
             - pref: IncludeSeeFromInSearches
               default: 0
               choices:
-                  yes: Include
-                  no: "Don't include"
-            - "<i>see from</i> (non-preferred form) headings in bibliographic searches. Please note: you will need to reindex your bibliographic database when changing this preference."
+                  1: Include
+                  0: "Don't include"
+            - "<em>see from</em> (non-preferred form) headings in bibliographic searches. Please note: you will need to reindex your bibliographic database when changing this preference."
         -
             - pref: EnableSearchHistory
               default: 0
               choices:
-                  yes: Keep
-                  no: "Don't keep"
-            - patron search history in the staff client.
+                  1: Keep
+                  0: "Don't keep"
+            - patron search history in the staff interface.
         -
             - pref: BrowseResultSelection
               default: 0
               choices:
-                  yes: Enable
-                  no: Disable
-            - "browsing search results from the bibliographic record detail page in staff client."
-    Search Form:
+                  1: Enable
+                  0: Disable
+            - "browsing search results from the bibliographic record detail page in staff interface."
+        -
+            - pref: ElasticsearchCrossFields
+              default: 0
+              choices:
+                  1: Enable
+                  0: Disable
+            - "the cross_fields option for Elasticsearch searches, supported in Elasticsearch 6.X and above."
+            - "See documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-multi-match-query.html#type-cross-fields"
+    Search form:
         -
-            - Load the unlogged history to the next user.
             - pref : LoadSearchHistoryToTheFirstLoggedUser
               default: 0
               choices:
-                   yes: "Load"
-                   no : "Don't load"
-            - history to the next client.
+                   1: "Add"
+                   0: "Don't add"
+            - search history of the unlogged user to the next patron logging in.
         -
-            - Show tabs in OPAC and staff-side advanced search for limiting searches on the
+            - Show tabs in the staff interface advanced search for limiting searches on the
             - pref: AdvancedSearchTypes
               class: long
             - "fields (separate values with |). Tabs appear in the order listed.<br/>"
-            - "<em>Currently supported values</em>: Item types (<strong>itemtypes</strong>), Collection Codes (<strong>ccode</strong>) and Shelving Location (<strong>loc</strong>)."
+            - "<em>Currently supported values</em>: Item types (<strong>itemtypes</strong>), Collection, (<strong>ccode</strong>) and Shelving location (<strong>loc</strong>)."
         -
             - Limit the languages listed in the advanced search drop-down to the
             - pref: AdvancedSearchLanguages
@@ -112,44 +112,44 @@ Searching:
             - pref: expandedSearchOption
               type: boolean
               choices:
-                  yes: show
-                  no: "don't show"
-            - '"More options" on the OPAC and staff advanced search pages.'
+                  1: show
+                  0: "don't show"
+            - '"More options" on the OPAC and staff interface advanced search pages.'
         -
             - By default,
             - pref: OPACNumbersPreferPhrase
               type: boolean
               choices:
-                  yes: use
-                  no: "don't use"
-            - 'the operator "phr" in the callnumber and standard number OPAC searches'
+                  1: use
+                  0: "don't use"
+            - 'the operator "phr" in the callnumber and standard number OPAC searches.'
         -
             - By default,
             - pref: IntranetNumbersPreferPhrase
               type: boolean
               choices:
-                  yes: use
-                  no: "don't use"
-            - 'the operator "phr" in the callnumber and standard number staff client searches'
-    Results Display:
+                  1: use
+                  0: "don't use"
+            - 'the operator "phr" in the callnumber and standard number staff interface searches.'
+    Results display:
         -
             - pref: numSearchResultsDropdown
               type: boolean
               default: no
               choices:
-                  yes: Show
-                  no: "Don't show"
-            - results per page dropdown on staff client search results.
+                  1: Show
+                  0: "Don't show"
+            - results per page dropdown on staff interface search results.
         -
             - pref: OPACnumSearchResultsDropdown
               type: boolean
               default: no
               choices:
-                  yes: Show
-                  no: "Don't show"
+                  1: Show
+                  0: "Don't show"
             - results per page dropdown on OPAC search results.
         -
-            - By default, sort search results in the staff client by
+            - By default, sort search results in the staff interface by
             - pref: defaultSortField
               default: relevance
               choices:
@@ -168,18 +168,25 @@ Searching:
                   az: from A to Z.
                   za: from Z to A.
         -
+            - When limiting search results with a library or library group, limit by the item's
+            - pref: SearchLimitLibrary
+              choices:
+                  homebranch: "home library."
+                  holdingbranch: "holding library."
+                  both: "home library and holding library."
+        -
             - pref: displayFacetCount
               type: boolean
               default: no
               choices:
-                  yes: Show
-                  no: "Don't show"
-            - facet counts. The relevance of these numbers highly depends on the value of the maxRecordsForFacets preference. Applies to OPAC and staff interface.
+                  1: Show
+                  0: "Don't show"
+            - facet counts. The relevance of these numbers highly depends on the value of the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=maxRecordsForFacets">maxRecordsForFacets</a> preference. Applies to OPAC and staff interface.
         -
             - By default, show
             - pref: numSearchResults
               class: integer
-            - results per page in the staff client.
+            - results per page in the staff interface.
         -
             - For records with many items, only check the availability status for the first
             - pref: MaxSearchResultsItemsPerRecordStatusCheck
@@ -225,6 +232,15 @@ Searching:
               default: 20
             - facets for each category.
         -
+            - Sort facets
+            - pref: FacetOrder
+              type: choice
+              choices:
+                  Alphabetical: "alphabetically"
+                  Usage: "by usage count"
+              default: Alphabetical
+            - for each category.
+        -
             - By default, show
             - pref: OPACnumSearchResults
               class: integer
@@ -238,17 +254,10 @@ Searching:
                   holding: "holding library"
                   both: "both home and holding library"
         -
-            - pref: OPACItemsResultsDisplay
-              type: boolean
-              choices:
-                  yes: Show
-                  no: "Don't show"
-            - "an item's library, location and call number in OPAC search results."
-        -
             - Truncate facets length to
             - pref: FacetLabelTruncationLength
               class: integer
-            - characters, in OPAC/staff interface.
+            - characters, in OPAC/staff interface (REQUIRES ZEBRA).
         -
             - Use the following text as separator for UNIMARC authors facets
             - pref: UNIMARCAuthorsFacetsSeparator
@@ -257,10 +266,49 @@ Searching:
             - When searching on the ISBN index,
             - pref: SearchWithISBNVariations
               choices:
-                  yes: "search"
-                  no: "don't search"
+                  1: "search"
+                  0: "don't search"
             - on all variations of the ISBN.
-    Did you Mean/Spell checking:
+        -
+            - When searching on the ISSN index,
+            - pref: SearchWithISSNVariations
+              choices:
+                  1: "search"
+                  0: "don't search"
+            - on all variations of the ISSN.
+        -
+            - pref: RetainCatalogSearchTerms
+              choices:
+                  0: "Don't retain"
+                  1: "Retain"
+            - search terms between searches when searching from the 'search the catalog' tab in the staff interface header.
+        -
+            - pref: RetainPatronsSearchTerms
+              choices:
+                  0: "Don't retain"
+                  1: "Retain"
+            - search terms between searches when searching from the 'checkout' and 'search patrons' tab in the staff interface header.
+        -
+            - pref: BiblioItemtypeInfo
+              choices:
+                  1: "Show"
+                  0: "Don't show"
+            - ' Koha record level itemtype info on detail and result pages in the OPAC and staff interface. This info also displays if the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=item-level_itypes">item-level_itypes</a> system preference is set to bibliographic record.'
+        -
+            - pref: PassItemMarcToXSLT
+              type: boolean
+              choices:
+                  1: Do
+                  0: "Don't"
+            - "make item MARC fields (MARC21 952, UNIMARC 995) available to XSLT stylesheets for OPAC and staff interface results pages."
+            - "<br/>Default is \"Don't\", items are displayed using other methods."
+        -
+            - pref: ShowHeadingUse
+              choices:
+                  1: Show
+                  0: "Don't show"
+            - "whether an authority record contains an established heading that conforms to descriptive cataloguing rules, and can therefore be used as a main/added entry, or subject, or series title."
+    Did you mean/spell checking:
         -
             - "Swedish service for spellchecking.<br/>"
             - LIBRIS Spellchecking API key