Last change
on this file since 367 was 351, checked in by rjmcnab, 25 years ago |
Added ability to combine two or more independant queries.
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
919 bytes
|
Line | |
---|
1 | /**********************************************************************
|
---|
2 | *
|
---|
3 | * phrasesearch.h -- tools to search for a phrase in a larger text
|
---|
4 | * Copyright (C) 1999 DigiLib Systems Limited
|
---|
5 | *
|
---|
6 | * PUT COPYRIGHT NOTICE HERE
|
---|
7 | *
|
---|
8 | * $Id: phrasesearch.h 351 1999-07-07 06:19:47Z rjmcnab $
|
---|
9 | *
|
---|
10 | *********************************************************************/
|
---|
11 |
|
---|
12 |
|
---|
13 | #ifndef PHRASESEARCH_H
|
---|
14 | #define PHRASESEARCH_H
|
---|
15 |
|
---|
16 |
|
---|
17 | #include "text_t.h"
|
---|
18 | #include "unitool.h"
|
---|
19 | #include "mgsearch.h"
|
---|
20 | #include "infodbclass.h"
|
---|
21 |
|
---|
22 |
|
---|
23 | // looks for the phrase in the metadata or text associated with
|
---|
24 | // a document number. This function has not been coded with all
|
---|
25 | // situations in mind and expects mgsearch and gdbm set up ready to go
|
---|
26 | bool OID_phrase_search (mgsearchclass &mgsearch,
|
---|
27 | gdbmclass &gdbm,
|
---|
28 | const text_t &index,
|
---|
29 | const text_t &subcollection,
|
---|
30 | const text_t &language,
|
---|
31 | const text_t &longindex,
|
---|
32 | const text_t &collection,
|
---|
33 | const vector<termfreqclass> &phrase,
|
---|
34 | int docnum);
|
---|
35 |
|
---|
36 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.