func()

in internal/mode/advanced/elastic/client.go [255:261]


func (c *Client) routingFor(documentType string) string {
	if documentType == "wiki_blob" {
		return fmt.Sprintf("n_%v", strings.Split(c.TraversalIDs(), "-")[0]) // Using short string like n will help to keep the length of the url short
	} else {
		return fmt.Sprintf("project_%v", c.ProjectID)
	}
}