Changeset 36160


Ignore:
Timestamp:
2022-05-09T14:41:44+12:00 (2 years ago)
Author:
kjdon
Message:

added methods to get the sortfields and facets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/cdm/IndexingManager.java

    r36153 r36160  
    113113    }
    114114
     115  public ArrayList getSortFields() {
     116    if (isLucene() || isSOLR()) {
     117      return sortfield_manager.getIndexes();
     118    }
     119    return null;
     120  }
     121  public ArrayList getFacets() {
     122    if (isSOLR()) {
     123      return facet_manager.getIndexes();
     124    }
     125    return null;
     126  }
     127
     128 
    115129    public Control getControls() {
    116130    if (controls == null) {
Note: See TracChangeset for help on using the changeset viewer.