Changeset 2545 for trunk/gsdl/src/colservr/mgsearch.cpp
- Timestamp:
- 2001-06-13T15:16:57+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/colservr/mgsearch.cpp
r2211 r2545 22 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 23 * 24 * $Id$25 *26 24 *********************************************************************/ 27 28 /*29 $Log$30 Revision 1.33 2001/03/20 09:34:41 sjboddie31 removed some debugging lines32 33 Revision 1.32 2001/03/12 23:57:17 say134 added command to strip the corbaserver (makes it much smaller)35 36 Revision 1.31 2001/02/19 02:02:00 sjboddie37 Set mg's accumulator method back to 'list' as the recent change appeared38 to introduce a new (and more serious) bug while fixing the old bug. For39 now we'll just have to live with it the way it is.40 41 Revision 1.30 2001/02/15 22:58:11 kjm1842 added a comment43 44 Revision 1.29 2001/02/15 03:57:02 kjm1845 changed accumulator_method for mg to be array rather than list - it was46 getting some weird results with ranked searches47 48 Revision 1.28 2001/01/25 18:26:44 cs02549 Included CORBA branch for first time50 51 Revision 1.22.2.1 2000/04/04 15:02:32 cs02552 Corba first commit53 54 Revision 1.22 1999/09/24 02:41:21 rjmcnab55 change to use has_unicode_letdig in text_t56 57 Revision 1.21 1999/09/21 21:41:41 sjboddie58 fixed an error in what I committed last59 60 Revision 1.20 1999/09/21 11:59:26 sjboddie61 added Maxdocs queryfilter option (which may be -1 for 'all)62 63 Revision 1.19 1999/09/07 22:52:52 rjmcnab64 Seems to be an error in mg for retrieving documents using a paragraph65 based index for some cases. Just added a work around (loads the default66 index every time).67 68 Revision 1.18 1999/09/07 04:57:22 sjboddie69 added gpl notice70 71 Revision 1.17 1999/08/31 22:42:41 rjmcnab72 A couple of minor things.73 74 Revision 1.16 1999/08/25 04:51:06 sjboddie75 small change to allow for searching using boolean operators76 77 Revision 1.15 1999/07/16 08:35:03 rjmcnab78 Fixed a weird bug to do with a faulty case statement.79 80 Revision 1.14 1999/07/16 03:42:22 sjboddie81 changed isApprox82 83 Revision 1.13 1999/07/16 00:12:46 sjboddie84 removed all the old post-processing stuff85 86 Revision 1.12 1999/07/07 06:17:47 rjmcnab87 broke search_index into index+subcollection+language88 within mgsearch89 90 Revision 1.11 1999/07/05 21:06:43 rjmcnab91 Disabled quoted strings.92 93 Revision 1.10 1999/07/01 09:29:19 rjmcnab94 Changes for better reporting of number documents which match a query. Changes95 should still work as before with older versions of mg.96 97 Revision 1.9 1999/07/01 03:54:48 rjmcnab98 Added code to plug in the equivalent terms of each of the query terms.99 Also added a function to get a raw utf8 encoded mg document (for speeding100 up a phrase matching function)101 102 Revision 1.8 1999/06/30 04:04:12 rjmcnab103 made stemming functions available from mgsearch and made the stems104 for the query terms available in queryinfo105 106 Revision 1.7 1999/06/27 22:07:27 sjboddie107 got rid of all the old functions for dealing with dir indexes108 109 Revision 1.6 1999/06/09 00:41:32 sjboddie110 phrase searching now uses case-folding if it's turned on111 112 Revision 1.5 1999/02/21 22:31:35 rjmcnab113 114 Removed locateinfo.115 116 Revision 1.4 1999/02/03 01:13:27 sjboddie117 118 Got interface to handle subcollections and language subcollections -119 committed changes made to some of the collections120 121 Revision 1.3 1999/01/19 01:38:17 rjmcnab122 123 Made the source more portable.124 125 Revision 1.2 1999/01/12 01:51:02 rjmcnab126 127 Standard header.128 129 Revision 1.1 1999/01/08 09:02:16 rjmcnab130 131 Moved from src/library.132 133 */134 25 135 26 #include "gsdlconf.h" … … 659 550 } 660 551 552 // unload_database simply calls mgq's close_all_databases function to clear 553 // any cached databases - this is useful when attempting to completely 554 // remove all trace of a collectionserver at runtime (when using a 555 // persistent version of Greenstone like the windows local library) 556 void mgsearchclass::unload_database () { 557 close_all_databases(); 558 }
Note:
See TracChangeset
for help on using the changeset viewer.