Tika Contents Extraction
Extract and index textual contents using Tika service.
Apache Tika is an independent, open source, content extractor that supports a very wide range of file formats. It can even support OCR for extracting text from images. This flow sends file contents to Tika and gets the textual information to be indexed internally by the Cells search engine.
Install with Docker¶
Installing with Docker is as simple as running the following command:
How It Works¶
The Flow assumes you have Tika running and available at a specific URL. Once extracted, the textual content is stored on Cells side to avoid having to resend file to Tika on re-indexation. The Flow is also in charge of cleaning associated metadata on file deletion, and can be triggered manually to re-extract contents from all compatible files (can be handy when first enabling job to run on existing files).
Tika provides also further metadata extraction, that can be indexed by Cells search engine as well.
Parameters¶
Name | Type | Default | Mandatory | Description |
---|---|---|---|---|
TikaServer | text | localhost:9998 | true | TCP address for querying Tika server. |
Extensions | text | pdf,doc,docx,html,xls,xlsx,pptx,key | false | List of extensions to be analyzed by Tika |
ImagesExtensions | text | png,jpg,jpeg,bmp | false | If your tika instance supports OCR, submit these image formats as well. |
Trigger Type¶
Event-based
JSON Representation¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
|