String getDefaultReturnFields ( ) { StringBuffer fields = new StringBuffer ( "" ) ; fields . append ( CmsSearchField . FIELD_PATH ) ; fields . append ( ' ' ) ; fields . append ( CmsSearchField . FIELD_INSTANCEDATE ) . append ( ' ' ) . append ( getSearchLocale ( ) . toString ( ) ) . append ( "_dt" ) ; fields . append ( ' ' ) ; fields . append ( CmsSearchField . FIELD_INSTANCEDATE_END ) . append ( ' ' ) . append ( getSearchLocale ( ) . toString ( ) ) . append ( "_dt" ) ; fields . append ( ' ' ) ; fields . append ( CmsSearchField . FIELD_INSTANCEDATE_CURRENT_TILL ) . append ( ' ' ) . append ( getSearchLocale ( ) . toString ( ) ) . append ( "_dt" ) ; fields . append ( ' ' ) ; fields . append ( CmsSearchField . FIELD_ID ) ; fields . append ( ' ' ) ; fields . append ( CmsSearchField . FIELD_SOLR_ID ) ; fields . append ( ' ' ) ; fields . append ( CmsSearchField . FIELD_DISPTITLE ) . append ( ' ' ) . append ( getSearchLocale ( ) . toString ( ) ) . append ( "_sort" ) ; fields . append ( ' ' ) ; fields . append ( CmsSearchField . FIELD_LINK ) ; return fields . toString ( ) ; }
The fields returned by default . Typically the output is done via display formatters and hence nearly no field is necessary . Returning all fields might cause performance problems .