This commit is contained in:
parent
d578605981
commit
9a86a63631
2 changed files with 8 additions and 4 deletions
|
@ -280,8 +280,10 @@ public abstract class AbstractFessFileTransformer extends
|
|||
putResultDataBody(dataMap, "contentLength",
|
||||
Long.toString(responseData.getContentLength()));
|
||||
// lastModified
|
||||
putResultDataBody(dataMap, "lastModified",
|
||||
FessFunctions.formatDate(responseData.getLastModified()));
|
||||
if (responseData.getLastModified() != null) {
|
||||
putResultDataBody(dataMap, "lastModified",
|
||||
FessFunctions.formatDate(responseData.getLastModified()));
|
||||
}
|
||||
// indexingTarget
|
||||
putResultDataBody(dataMap, Constants.INDEXING_TARGET, indexingTarget);
|
||||
// boost
|
||||
|
|
|
@ -305,8 +305,10 @@ public class FessXpathTransformer extends AbstractFessXpathTransformer {
|
|||
putResultDataBody(dataMap, "contentLength",
|
||||
Long.toString(responseData.getContentLength()));
|
||||
// lastModified
|
||||
putResultDataBody(dataMap, "lastModified",
|
||||
FessFunctions.formatDate(responseData.getLastModified()));
|
||||
if (responseData.getLastModified() != null) {
|
||||
putResultDataBody(dataMap, "lastModified",
|
||||
FessFunctions.formatDate(responseData.getLastModified()));
|
||||
}
|
||||
// indexingTarget
|
||||
putResultDataBody(dataMap, Constants.INDEXING_TARGET, indexingTarget);
|
||||
// boost
|
||||
|
|
Loading…
Add table
Reference in a new issue