source: trunk/indexers/mgpp/docs/Queryer_help.txt@ 3365

Last change on this file since 3365 was 3365, checked in by kjdon, 22 years ago

Initial revision

  • Property svn:keywords set to Author Date Id Revision
File size: 2.1 KB
Line 
1Queryer is a standalone program enabling search and retrieval of documents
2in an mgpp collection. Even when using greenstone, it is useful for testing
3your collections.
4
5Queryer can be run like
6
7Queryer -f <index files> -t <text files>
8
9index and text files is the path to these files down to the collection name.
10eg
11if your text files are demo/index/text/demo.t, demo/index/text/demo.ti etc,
12then the text path is demo/index/text/demo
13similary for the index files.
14
15Commands available in the Queryer are:
16
17.q quit
18.h print the help message
19.i change the search level (enter the new level at the prompt)
20.l change the result level ( "" "" )
21.b full text browse (enter a word or fragment at the prompt)
22.r0/.r1 ranking off/on
23.t0/.t1 query type some/all
24.c0/.c1 casefolding off/on
25.s0/.s1 stemming off/on
26.o0/.o1 short output off/on
27
28.p print a document (enter the docnum at the prompt)
29otherwise just enter a query
30
31
32The current query syntax involves the following:
33
34boolean operators: & AND | OR ! NOT, with () for precedence
35
36term modifiers: #icus /x - this is stemming, casefolding and weighting like
37in gsdl
38
39 #i = case insensitive, #c = case sensitive
40 #u = unstemmed, #s = stemmed
41 /x = term weight (default = 1).
42
43eg computer#is/10 is computer, stemmed and casefolded, with a weight of 10
44compared to other terms in the same query
45
46Proximity searching: NEARx
47this is used to specify the maximum distance apart two words must be to match
48eg dog NEAR4 cat - cat must be within 4 words either side of dog.
49NEAR by itself defaults to 20(??).
50
51fielded searching: [ terms]:Field
52
53eg [Witten]:Creator
54[Witten]:CR
55
56the field names need to be the names of the metadata elements in your
57collection. If the collection was built with greenstone, these names are the
58two letter codes found in the build.cfg file.
59
60Multiple terms inside the [] are ANDed together.
61
62Different fields can be combined using normal boolean stuff, eg
63
64[Witten]:CR & [Gigabytes]:TI
65
66Term modifiers can be included inside the [].
67
Note: See TracBrowser for help on using the repository browser.