00001 /* Copyright (C) 2000 MySQL AB & Sergei A. Golubchik 00002 00003 This program is free software; you can redistribute it and/or modify 00004 it under the terms of the GNU General Public License as published by 00005 the Free Software Foundation; either version 2 of the License, or 00006 (at your option) any later version. 00007 00008 This program is distributed in the hope that it will be useful, 00009 but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00011 GNU General Public License for more details. 00012 00013 You should have received a copy of the GNU General Public License 00014 along with this program; if not, write to the Free Software 00015 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ 00016 00017 /* Written by Sergei A. Golubchik, who has a shared copyright to this code */ 00018 00019 const char **stopwordlist=ft_precompiled_stopwords; 00020 00021 #define MAX_REC_LENGTH 128 00022 #define MAX_BLOB_LENGTH 60000 00023 char record[MAX_REC_LENGTH], read_record[MAX_REC_LENGTH+MAX_BLOB_LENGTH]; 00024 char blob_record[MAX_BLOB_LENGTH+20*20]; 00025 00026 char *filename= (char*) "EVAL"; 00027 00028 int silent=0, error=0; 00029 00030 uint key_length=MAX_BLOB_LENGTH,docid_length=32; 00031 char *d_file, *q_file; 00032 FILE *df,*qf; 00033 00034 MI_COLUMNDEF recinfo[3]; 00035 MI_KEYDEF keyinfo[2]; 00036 HA_KEYSEG keyseg[10]; 00037 00038 #define SWL_INIT 500 00039 #define SWL_PLUS 50 00040 00041 #define MAX_LINE_LENGTH 128 00042 char line[MAX_LINE_LENGTH];
1.4.7

