Ignore:
Timestamp:
2008-05-30T16:00:47+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Adding dynamic classifiers) Not sure if this is necessarily the best place to do this, but added the ability to request the documents from a "get_documents_with_metadata_value()" call to be sorted based on a certain metadata element. Thanks to John Thompson for the SQL statement help.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/lib/sqldbclass.h

    r15803 r15836  
    4444  // returns array of document OIDs
    4545  virtual text_tarray get_documents_with_metadata_value (const text_t &metadata_element_name,
    46                              const text_t &metadata_value) = 0;
     46                             const text_t &metadata_value,
     47                             const text_t &sort_by_metadata_element_name) = 0;
    4748
    4849  // returns array of values
Note: See TracChangeset for help on using the changeset viewer.