Changeset 2468 for trunk/gsdl/src/mgpp/text/mg_perf_hash_build.cpp
- Timestamp:
- 2001-05-24T17:06:48+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/mgpp/text/mg_perf_hash_build.cpp
r2442 r2468 18 18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 19 19 * 20 * $Id$21 *22 20 **************************************************************************/ 23 21 24 22 #define _XOPEN_SOURCE 1 25 23 #define _XOPEN_SOURCE_EXTENDED 1 26 #include <unistd.h> 24 25 // need this to avoid bizarre compiler problems under VC++ 6.0 26 #if defined (__WIN32__) && !defined (GSDL_USE_IOS_H) 27 # include <iostream> 28 #endif 29 30 #if defined (__WIN32__) 31 # include "getopt.h" 32 #else 33 # include <unistd.h> 34 #endif 27 35 28 36 #include "sysfuncs.h" … … 39 47 #include "mg.h" 40 48 41 /*42 $Log$43 Revision 1.4 2001/05/17 04:38:16 jrm2144 portability changes, use getopt from unistd.h (all POSIX systems)45 46 Revision 1.3 2001/05/07 05:01:47 jrm2147 replaced bcopy with memcpy48 49 Revision 1.2 2000/02/15 22:45:22 kjm1850 added feature to retrieve doc nums at a different level than the level51 queried at. eg query at Document level, but retrieve section level docnums52 bug in mg_perf_hash_build.cpp fixed53 54 Revision 1.1 2000/01/14 02:26:19 sjboddie55 Rodgers new C++ mg56 57 Revision 1.2 1999/10/17 23:43:27 cs02558 Changes to eradicate Xmalloc59 60 Revision 1.1 1999/10/11 02:58:01 cs02561 Base install of MG-PP62 63 Revision 1.1 1999/08/10 21:18:13 sjboddie64 renamed mg-1.3d directory mg65 66 Revision 1.2 1998/11/25 07:55:47 rjmcnab67 68 Modified mg to that you can specify the stemmer you want69 to use via a command line option. You specify it to70 mg_passes during the build process. The number of the71 stemmer that you used is stored within the inverted72 dictionary header and the stemmed dictionary header so73 the correct stemmer is used in later stages of building74 and querying.75 76 Revision 1.1 1998/11/17 09:35:15 rjmcnab77 *** empty log message ***78 79 * Revision 1.3 1994/10/20 03:56:58 tes80 * I have rewritten the boolean query optimiser and abstracted out the81 * components of the boolean query.82 *83 * Revision 1.2 1994/09/20 04:41:53 tes84 * For version 1.185 *86 */87 88 89 90 49 #define POOL_SIZE 1024*1024 91 92 50 93 51 static void ProcessFiles (char *filename, int r) {
Note:
See TracChangeset
for help on using the changeset viewer.