FSCrawler generates documents in Elasticsearch with several structured fields depending on your configuration. The main fields include:
content: The extracted text content.content_semantic: A semantic-text copy of the content (enabled when semantic search is configured).attachment: A BASE64-encoded binary file (enabled when fs.base64 is set).meta.*: Metadata extracted by Apache Tika (e.g., author, title, date, language).file.*: File attributes such as filename, extension, filesize, and url.path.*: Path information including real, virtual, and root paths.attributes.*: Filesystem-level attributes like owner, group, and permissions.external: Additional tags provided via external metadata.
{
"content":"This is a sample text available in page 1\n\nThis second part of the text is in Page 2\n\n",
"content_semantic":"This is a sample text available in page 1\n\nThis second part of the text is in Page 2\n\n",
"file":{
"content_type":"application/vnd.oasis.opendocument.text",
"created":"2018-07-30T11:35:08.000+0000",
"extension":"odt",
"filename":"test.odt",
"filesize":6236,
"indexing_date":"2018-07-30T11:35:19.781+0000",
"last_accessed":"2018-07-30T11:35:08.000+0000",
"last_modified":"2018-07-30T11:35:08.000+0000",
"url":"file:///tmp/test.odt"
},
"meta":{
"author":"David Pilato",
"created":"2016-07-07T16:37:00.000+0000",
"date":"2016-07-07T16:37:00.000+0000",
"description":"Comments",
"keywords":[
"keyword1",
" keyword2"
],
"language":"en",
"title":"Test Tika title"
},
"path":{
"real":"/tmp/test.odt",
"root":"7537e4fb47e553f110a1ec312c2537c0",
"virtual":"/test.odt"
}
}