ElasticSearch file ID is file name. Need fit to be file_ID (number) in ElasticSearch metadata

I am using ElasticSearch plugin. In ElasticSearch metadata of indexed document, the fileID is the filename. I need it to be the unique fileID number that shows up in the URL when submitting a doc to NextCloud. Is there a config for that?