Exemple #1
0
func (c *C) RegenerateFulltext(a iface.Filter) error {
	cb := func(doc map[string]interface{}, g iface.Grabbed) error {
		upd := c.updateFromDoc(doc)
		return g.Update(upd)
	}
	return a.Iterate(cb)
}