Пример #1
0
func (c *C) RegenerateFulltext(a iface.Filter) error {
	cb := func(g iface.Document) error {
		upd := c.updateFromDoc(g.Data())
		return g.Update(upd)
	}
	return a.Iterate(cb)
}