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/UCArray.h

    r7944 r8242  
    9797int DictCompare (const UCArray &a1, const UCArray &a2);
    9898
     99// does the first string start with the second?
     100bool StartsWith(const UCArray &a1, const UCArray &a2);
     101// does the first string start with the second, ignoring case?
     102bool StartsWithCasefold(const UCArray &a1, const UCArray &a2);
     103
    99104struct LTUCArray {
    100105  bool operator()(const UCArray &a1, const UCArray &a2) const
Note: See TracChangeset for help on using the changeset viewer.