1 | /**************************************************************************
|
---|
2 | *
|
---|
3 | * filename -- description
|
---|
4 | * Copyright (C) 1994 Authors
|
---|
5 | *
|
---|
6 | * This program is free software; you can redistribute it and/or modify
|
---|
7 | * it under the terms of the GNU General Public License as published by
|
---|
8 | * the Free Software Foundation; either version 2 of the License, or
|
---|
9 | * (at your option) any later version.
|
---|
10 | *
|
---|
11 | * This program is distributed in the hope that it will be useful,
|
---|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | * GNU General Public License for more details.
|
---|
15 | *
|
---|
16 | * You should have received a copy of the GNU General Public License
|
---|
17 | * along with this program; if not, write to the Free Software
|
---|
18 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
---|
19 | *
|
---|
20 | * $Id: bool_parser.h 16583 2008-07-29 10:20:36Z davidb $
|
---|
21 | *
|
---|
22 | **************************************************************************/
|
---|
23 |
|
---|
24 | /*
|
---|
25 | $Log$
|
---|
26 | Revision 1.1 2003/02/20 21:18:23 mdewsnip
|
---|
27 | Addition of MG package for search and retrieval
|
---|
28 |
|
---|
29 | Revision 1.1 1999/08/10 21:17:43 sjboddie
|
---|
30 | renamed mg-1.3d directory mg
|
---|
31 |
|
---|
32 | Revision 1.2 1998/11/25 07:55:40 rjmcnab
|
---|
33 |
|
---|
34 | Modified mg to that you can specify the stemmer you want
|
---|
35 | to use via a command line option. You specify it to
|
---|
36 | mg_passes during the build process. The number of the
|
---|
37 | stemmer that you used is stored within the inverted
|
---|
38 | dictionary header and the stemmed dictionary header so
|
---|
39 | the correct stemmer is used in later stages of building
|
---|
40 | and querying.
|
---|
41 |
|
---|
42 | Revision 1.1 1998/11/17 09:34:26 rjmcnab
|
---|
43 | *** empty log message ***
|
---|
44 |
|
---|
45 | * Revision 1.1 1994/10/20 03:56:33 tes
|
---|
46 | * I have rewritten the boolean query optimiser and abstracted out the
|
---|
47 | * components of the boolean query.
|
---|
48 | *
|
---|
49 | * Revision 1.1 1994/10/12 01:15:31 tes
|
---|
50 | * Found bugs in the existing boolean query optimiser.
|
---|
51 | * So decided to rewrite it.
|
---|
52 | * I accidentally deleted query.bool.y, but I have replaced it
|
---|
53 | * with bool_parser.y (which I have forgotten to add here ! ;-(
|
---|
54 | *
|
---|
55 | */
|
---|
56 |
|
---|
57 | #ifndef BOOL_PARSER_H
|
---|
58 | #define BOOL_PARSER_H
|
---|
59 |
|
---|
60 | #include "backend.h"
|
---|
61 | #include "term_lists.h"
|
---|
62 | #include "invf.h"
|
---|
63 |
|
---|
64 | bool_tree_node *ParseBool (char *query_line, int query_len,
|
---|
65 | TermList ** the_term_list, int the_stemmer_num,
|
---|
66 | int the_stem_method, int *res,
|
---|
67 | stemmed_dict * the_sd, int is_indexed, /* [RPAP - Jan 97: Stem Index Change] */
|
---|
68 | QueryTermList ** the_query_term_list); /* [RPAP - Feb 97: Term Frequency] */
|
---|
69 |
|
---|
70 | #endif
|
---|