Changeset 2139


Ignore:
Timestamp:
2001-03-09T10:31:20+13:00 (23 years ago)
Author:
sjboddie
Message:

fixed a bug that prevented phrase searching from working correctly for
collections with indexes like section:text,Title

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/phrasesearch.cpp

    r1661 r2139  
    150150  // note that we're treating indexes with granularity of 'all' (i.e. text,Title,Creator)
    151151  // as if they were simply 'text' indexes
    152   if (gran == "text" || gran == "all") {
     152  if (gran == "text" || gran == "all" || findword(gran.begin(),gran.end(),"text")) {
    153153    char *doc = NULL;
    154154    int doclen = 0;
Note: See TracChangeset for help on using the changeset viewer.