You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: search.go
    path of file: ./repos/aether-app/aether-core/aether/frontend/search
    
    the code of the file until where you have to start completion: // Frontend > Search
// This package handles the indexing and full text search in the frontend key/value store.

package search

import (
	"aether-core/aether/services/globals"
	"aether-core/aether/services/logging"
	"github.com/blev
    
func MakeSearchId(entityType, boardfp, threadfp, parentfp, fingerprint, userfp string) (string, error) {
	idStruct := SearchId{
		EntityType:  entityType, // Board, Thread, Post, User
		BoardFp:     boardfp,
		ThreadFp:    threadfp,
		ParentFp:    parentfp,
		Fingerprint: fingerprint,
		UserFp:      userfp,
	}
	idByte, err := json.Marshal(idStruct)
	if err != nil {
		return "", err
	}
	return string(idByte), nil
}