Ignore:
Timestamp:
2004-10-08T13:03:36+13:00 (20 years ago)
Author:
kjdon
Message:

added in Partial matching for query terms. Cna type comp* as a query, and it will find all words that begin with comp. This search can be case sensitive or insensitive. Changes made to invf.h/cpp, UCArray.h/cpp, Terms.cpp, GSDLQueryLex.h/cpp, GSDLQueryParser.cpp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/mgpp/text/invf.h

    r3365 r8242  
    302302                unsigned long &elNum);
    303303
     304//-----------------------------------------------------
     305// New functions for partial matching
     306// returns a list of word numbers from the main block index whose
     307// words start with el.
     308bool PartialMatchSearchWordBlockDictEl (FILE *dictFile,
     309                 const block_idx &bIdx,
     310                 unsigned long entriesPerBlock,
     311                 unsigned long dictSize,
     312                 unsigned long numLevels,
     313                 const UCArray &el,
     314                 word_block_dict_el &dictEl,
     315                 vector<unsigned long> &elNumList,
     316                 bool casefold);
    304317//----------------------------------------------------------
    305318
Note: See TracChangeset for help on using the changeset viewer.