Title is not getting indexed in Elastic for wiki

We are not indexing the title in the Wiki document. Following is the sample document for a wiki that has the title A title and content This is content that has been set during the creation of the wiki. The content is indexed correctly but there is no field as such title. We are storing the title in the path and file_name. Think about if we need a new field called title to index the title correctly.

{ - 
  "_index": "gitlab-development-20230328-2019",
  "_id": "21_A-title.md",
  "_score": 6.7578497,
  "_routing": "project_21",
  "_source": { - 
    "blob": { - 
      "type": "wiki_blob",
      "oid": "954517c864a43e007ab1142bb02271dbc27da328",
      "rid": "wiki_21",
      "commit_sha": "f91a608482dcf24b78d0b29bc7c6d1b64a77fa02",
      "content": "This is content",
      "path": "A-title.md",
      "file_name": "A-title.md",
      "language": "Markdown"
    },
    "join_field": { - 
      "name": "wiki_blob",
      "parent": "project_21"
    },
    "project_id": 21,
    "traversal_ids": "1-",
    "type": "wiki_blob"
  }
}