About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


Warning: This page has not been updated in over over a year and may be outdated or deprecated.
administration:linking_to_vufind_from_external_systems

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
administration:linking_to_vufind_from_external_systems [2015/12/14 19:00] – ↷ Page moved from linking_to_vufind_from_external_systems to administration:linking_to_vufind_from_external_systems demiankatzadministration:linking_to_vufind_from_external_systems [2022/10/14 19:44] (current) – [Generic "Canned" Links] ejbivona
Line 15: Line 15:
 Valid values for [search-type] may be found by consulting your searchspecs.yaml configuration file -- or, for a simpler approach, just perform a search of the type you desire and copy and paste the resulting URL. Valid values for [search-type] may be found by consulting your searchspecs.yaml configuration file -- or, for a simpler approach, just perform a search of the type you desire and copy and paste the resulting URL.
  
 +=== Complex Searches ===
 +
 +More complicated searches can be constructed by specifying arrays of lookfor/type/bool parameters with numbered groups:
 +
 +lookfor<N>[]= array of search terms in group N\\
 +type<N>[]= array of search fields in group N\\
 +bool<N>[]= boolean operator used by group N (AND/OR/NOT)
 +
 +Additionally a top level operator can be specified between groups using the join parameter:
 +
 +join= (AND/OR)
 +
 +Thus a search like "(title:foo OR author:bar) AND (NOT subject:baz)" can be represented as:
 +
 +<nowiki>http://[your-vufind-server]/[your-vufind-path]/Search/Results?join=AND&lookfor0[]=foo&type0[]=title&lookfor0[]=bar&type0[]=author&bool0[]=OR&lookfor1[]=baz&type1[]=subject&bool1[]=NOT</nowiki>
 +
 +The <N>[] syntax allows the repeated parameters to be amassed together, by group number.  The square brackets ([]) may be encoded in the URL's query string as %5B%5D.
 ==== Search Widgets ==== ==== Search Widgets ====
  
Line 47: Line 64:
 You can add hidden input elements to the form if you wish to pre-set filters, force a particular search type, etc. You can add hidden input elements to the form if you wish to pre-set filters, force a particular search type, etc.
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
administration/linking_to_vufind_from_external_systems.1450119616.txt.gz · Last modified: 2015/12/14 19:00 by demiankatz