public List<CmsSearchField> getSearchFields() {

        I_CmsSearchIndex index = OpenCms.getSearchManager().getIndex(getParamIndexName());
        List<CmsSearchField> result = new ArrayList<CmsSearchField>();
        Iterator<CmsSearchField> i = index.getFieldConfiguration().getFields().iterator();
        while (i.hasNext()) {
            CmsLuceneField field = (CmsLuceneField)i.next();
            if (field.isIndexed() && field.isDisplayed()) {
                // only include indexed (ie. searchable) fields
                result.add(field);
            }
        }
        return result;
    }
public List < CmsSearchField > getSearchFields ( ) { I_CmsSearchIndex index = OpenCms . getSearchManager ( ) . getIndex ( getParamIndexName ( ) ) ; List < CmsSearchField > result = new ArrayList < CmsSearchField > ( ) ; Iterator < CmsSearchField > i = index . getFieldConfiguration ( ) . getFields ( ) . iterator ( ) ; while ( i . hasNext ( ) ) { CmsLuceneField field = ( CmsLuceneField ) i . next ( ) ; if ( field . isIndexed ( ) && field . isDisplayed ( ) ) { result . add ( field ) ; } } return result ; }
Returns the list of searchable fields used in the workplace search index.<p>

@return the list of searchable fields used in the workplace search index