From cbd40e2f870ae7d7869a5c54e049453ea6e18535 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Mon, 17 Feb 2014 16:36:59 -0500 Subject: [PATCH] Corrected version of kpac.xml with properly nested preset searches --- Open-ILS/examples/kpac.xml | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/Open-ILS/examples/kpac.xml b/Open-ILS/examples/kpac.xml index e6a104804e..e30ad2eda8 100644 --- a/Open-ILS/examples/kpac.xml +++ b/Open-ILS/examples/kpac.xml @@ -14,6 +14,8 @@ For multiple words: keyword:dog beagle For phrase: keyword:"fourth of july" For boolean 'or': (keyword:dog || keyword:puppy) + For multiples, next the terms: + ((keyword:dog || keyword:puppy) || keyword:beagle) For 'link': http://www.evergreen.org --> @@ -22,7 +24,6 @@ - - (keyword:car || keyword:truck || keyword: automobile) - keyword:airplane + ((keyword:car || keyword:truck) || keyword: automobile) + (keyword:airplane || keyword:aeroplane) (keyword:train || keyword:locomotive) (keyword:tractor || keyword:construction) (keyword:boat || keyword:ship) - (keyword:tank || keyword:submarine || keyword:aircraft carrier) + (((keyword:military tank || keyword:submarine) || keyword:aircraft carrier) || keyword:military aircraft) - https://next.gapines.org/eg/kpac/results?bookbag=153202;locg=1;trail=11 - https://next.gapines.org/eg/kpac/results?bookbag=153204;locg=1;trail=11 - https://next.gapines.org/eg/kpac/results?bookbag=153203;locg=1;trail=11 - https://next.gapines.org/eg/kpac/results?bookbag=153201;locg=1;trail=11 - https://next.gapines.org/eg/kpac/results?bookbag=153206;locg=1;trail=11 - https://next.gapines.org/eg/kpac/results?bookbag=154170;locg=1;trail=11 - https://next.gapines.org/eg/kpac/results?bookbag=153205;locg=1;trail=11 - https://next.gapines.org/eg/kpac/results?bookbag=154171;locg=1;trail=11 + https://gapines.org/eg/kpac/results?bookbag=153202;locg=1;trail=11 + https://gapines.org/eg/kpac/results?bookbag=153204;locg=1;trail=11 + https://gapines.org/eg/kpac/results?bookbag=153203;locg=1;trail=11 + https://gapines.org/eg/kpac/results?bookbag=153201;locg=1;trail=11 + https://gapines.org/eg/kpac/results?bookbag=153206;locg=1;trail=11 + https://gapines.org/eg/kpac/results?bookbag=154170;locg=1;trail=11 + https://gapines.org/eg/kpac/results?bookbag=153205;locg=1;trail=11 + https://gapines.org/eg/kpac/results?bookbag=154171;locg=1;trail=11 (keyword:abc || keyword:alphabet) - (keyword:number || keyword:123 || keyword:counting) + ((keyword:number || keyword:123) || keyword:counting) keyword:colors - (keyword:shapes || keyword:circle || keyword:square || keyword:triangle) - keyword:telling time - (keyword:seasons || keyword:winter || keyword:spring || keyword:summer || keyword:fall) + (((keyword:shapes || keyword:circle) || keyword:square) || keyword:triangle) + (keyword:telling time || keyword:clock) + ((((keyword:seasons || keyword:spring) || keyword:summer) || keyword:fall) || keyword:winter) -- 2.11.0