Changeset 163 for trunk/gsdl/src/colservr/mgsearch.cpp
- Timestamp:
- 1999-02-22T11:31:35+13:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/mgsearch.cpp
r138 r163 12 12 /* 13 13 $Log$ 14 Revision 1.5 1999/02/21 22:31:35 rjmcnab 15 16 Removed locateinfo. 17 14 18 Revision 1.4 1999/02/03 01:13:27 sjboddie 15 19 … … 34 38 #include "gsdlconf.h" 35 39 #include "mgsearch.h" 40 #include "fileutil.h" 36 41 37 42 #include <string.h> … … 62 67 63 68 #include "mgq.h" 64 #include "locateinfo.h"69 // #include "locateinfo.h" 65 70 #include "gsdlunicode.h" 66 71 #include "unitool.h" … … 135 140 //} 136 141 137 void getrealindexparts (const text_tarray & indexmap, const text_tarray &subcollectionmap,142 void getrealindexparts (const text_tarray &/*indexmap*/, const text_tarray &/*subcollectionmap*/, 138 143 const text_tarray &languagemap, const text_t &realindex, 139 144 text_t &index, text_t &subcollection, text_t &language) { … … 163 168 164 169 165 void getdirindexparts (const text_tarray & indexmap, const text_tarray &subcollectionmap,170 void getdirindexparts (const text_tarray &/*indexmap*/, const text_tarray &/*subcollectionmap*/, 166 171 const text_tarray &languagemap, const text_t &dirindex, 167 172 text_t &index, text_t &subcollection, text_t &language) { … … 348 353 } 349 354 350 text_t getdoclevelindex (const text_tarray & indexmap) {355 text_t getdoclevelindex (const text_tarray &/*indexmap*/) { 351 356 //text_tarray::const_iterator here = indexmap.begin(); 352 357 //text_tarray::const_iterator end = indexmap.end(); … … 446 451 447 452 453 static text_t getindexsuffix (const text_t &collection, 454 const text_t &index) { 455 text_t indexsuffix = "index"; 456 indexsuffix = filename_cat (indexsuffix, index); 457 indexsuffix = filename_cat (indexsuffix, collection); 458 return indexsuffix; 459 } 460 461 462 448 463 449 464 //////////////////// … … 505 520 queryparams.search_index)).getcstr(); 506 521 assert (idxsuffix != NULL); 507 char *txtsuffix = (get textsuffix (queryparams.collection)).getcstr();522 char *txtsuffix = (getindexsuffix (queryparams.collection, "text")).getcstr(); 508 523 assert (txtsuffix != NULL); 509 524 … … 683 698 defaultindex)).getcstr(); 684 699 assert (idxsuffix != NULL); 685 char *txtsuffix = (get textsuffix (collection)).getcstr();700 char *txtsuffix = (getindexsuffix (collection, "text")).getcstr(); 686 701 assert (txtsuffix != NULL); 687 702
Note:
See TracChangeset
for help on using the changeset viewer.