File: cql2pqfsample

package info (click to toggle)
yaz 4.2.30-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 15,120 kB
  • ctags: 13,367
  • sloc: xml: 119,746; ansic: 66,073; sh: 11,795; tcl: 2,125; makefile: 1,308; yacc: 371
file content (40 lines) | stat: -rw-r--r-- 452 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# CQL queries for testing.
# Read by test_cql2pqf.sh
# No blank lines!
#
# Simple Term
a
a b
"a b"
# Index Relation Term
title = fish
dc.title = fish
# Simple Boolean
cat or dog
cat and fish
cat not frog
(cat not frog)
"cat" not "fish food"
xml and "prox///"
fred and any
((fred or all))
a or b and c not d 
# Masking/Truncation
*a
a*
*a*
a*a
?a
a?
?a?
a?a
a#a?
*a#
a#a*
a*3
# Escape sequences (sh reads one slash, though)
a*\\3
\\*a#
\\*a*b#
\\"
@and