I am trying to create a proof of existence dapp using IPFS and Solidity and wish to implement a feature to add 'tags' (like we attach to question on stack overflow) to each file/document uploaded on IPFS. On my dapp front end I wish to provide a search option. Based on the value of tag entered in the search option, I wish to refresh dapp contents on the front end.
Being a newbie to Solidity coding, please suggest the most efficient (in terms of gas consumption) and fastest way to implement this feature in solidity code.
Thanks in advance