Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
1.4.1
-
None
-
None
-
Java 1.6
Description
The implicit fields generated by the FileListEntityProcessor do not match the documentation, which are listed in the following excerpt:
The implicit fields generated by the FileListEntityProcessor are
fileAbsolutePath, fileSize, fileLastModified, fileName and these are available
for use within the entity X as shown above.
The fileName field is not populated. The file's name is stored in the implicit field named file.
The hashmap that holds the metadata is (FileListEntityProcessor.java at line 255)
stored the following using the associated constants:
details.put(DIR, dir.getAbsolutePath());
details.put(FILE, name);
details.put(ABSOLUTE_FILE, aFile.getAbsolutePath());
details.put(SIZE, sz);
details.put(LAST_MODIFIED, lastModified);
where DIR = "fileDir", FILE = "file", ABSOLUTE_FILE = "fileAbsolutePath", SIZE = "fileSize", and LAST_MODIFIED = "fileLastModified".
Either the documentation must be updated, or the constant storing the return value must be updated.
Attachments
Attachments
Issue Links
- is superceded by
-
SOLR-14783 Remove DIH from 9.0
- Closed