Skip to content

Mappings and raw meta data #1689

Answered by dadoonet
reignblack asked this question in Q&A
Discussion options

You must be logged in to vote

I'm afraid that there is no way to do that directly in FSCrawler. Which is probably something we should support as an option. Something where we enable raw_metadata but we provide in addition to this a list of properties to keep. Default to *.

The only thing I can imagine for now would be to:

  • Disable the field meta.raw in Elasticsearch mapping.

You can change the 8/_settings.json file:

{
  "settings": {
    "number_of_shards": 1,
    "index.mapping.total_fields.limit": 2000,
    "analysis": {
      "analyzer": {
        "fscrawler_path": {
          "tokenizer": "fscrawler_path"
        }
      },
      "tokenizer": {
        "fscrawler_path": {
          "type": "path_hierarchy"

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by dadoonet
Comment options

You must be logged in to vote
1 reply
@dadoonet
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants