// Options returns the indexing options for this field.
178248
func (fm *FieldMapping) Options() document.IndexingOptions {
	var rv document.IndexingOptions
	if fm.Store {
		rv |= document.StoreField
	}
	if fm.Index {
		rv |= document.IndexField
	}
	if fm.IncludeTermVectors {
		rv |= document.IncludeTermVectors
	}
	if fm.DocValues {
		rv |= document.DocValues
	}
	return rv
}
1077813
func (r *router) OPTIONS(path string, handler Route) {
	r.group.OPTIONS(path, handler)
}
139967
func (factory *TumblrBeeFactory) Options() []bees.BeeOptionDescriptor {
	opts := []bees.BeeOptionDescriptor{
		{
			Name:        "blogname",
			Description: "Name of the Tumblr blog",
			Type:        "string",
			Mandatory:   true,
		},
		{
			Name:        "consumer_key",
			Description: "Consumer Key",
			Type:        "string",
			Mandatory:   true,
		},
		{
			Name:        "consumer_secret",
			Description: "Consumer Secret",
			Type:        "string",
			Mandatory:   true,
		},
		{
			Name:        "token",
			Description: "Token",
			Type:        "string",
			Mandatory:   true,
		},
		{
			Name:        "token_secret",
			Description: "Token Secret",
			Type:        "string",
			Mandatory:   true,
		},
		{
			Name:        "callback_url",
			Description: "Callback URL",
			Type:        "url",
			Mandatory:   false,
		},
	}
	return opts
}
972064
func (s *VPCDerivedInfoStatus) SetOptions(v *VPCDerivedInfo) *VPCDerivedInfoStatus {
	s.Options = v
	return s
}
82335
func (c *FakeClient) Option(opts ...Option) Interface {
	for _, opt := range opts {
		opt(&c.Opts)
	}
	return c
}
1326506
func (r *PURuntime) Options() OptionsType {
	r.Lock()
	defer r.Unlock()

	if r.options == nil {
		return OptionsType{}
	}

	return *r.options
}
736252
func (m *methods) Options(path string, fn handler) *Route {
	return m.add(path, fn, OPTIONS)
}
2547
func addOptions(s string, opt interface{}) (string, error) {
	v := reflect.ValueOf(opt)
	if v.Kind() == reflect.Ptr && v.IsNil() {
		return s, nil
	}

	u, err := url.Parse(s)
	if err != nil {
		return s, err
	}

	qs, err := query.Values(opt)
	if err != nil {
		return s, err
	}

	u.RawQuery = qs.Encode()
	return u.String(), nil
}
1363407
func (t *Template) Option(options ...Option) {
	for _, optionFn := range options {
		optionFn(t)
	}
}
291073
func (w *Weavebox) Options(route string, h Handler) {
	w.add("OPTIONS", route, h)
}
1194341
func (s *ElasticsearchVersionStatus) SetOptions(v string) *ElasticsearchVersionStatus {
	s.Options = &v
	return s
}
900733
func (m *MockRuntimeReader) Options() policy.OptionsType {
	ret := m.ctrl.Call(m, "Options")
	ret0, _ := ret[0].(policy.OptionsType)
	return ret0
}
1354982
func Options(url string, v ...interface{}) (*Resp, error) {
	return std.Options(url, v...)
}
226987
func (c *Ctx) SetOptions(options Options) Options {
	return Options(C.X_SSL_CTX_set_options(
		c.ctx, C.long(options)))
}
224580
func (w *wrapper) Options() OptionsConfiguration {
	w.mut.Lock()
	defer w.mut.Unlock()
	return w.cfg.Options.Copy()
}
38617
func (s *Sling) Options(pathURL string) *Sling {
	s.method = "OPTIONS"
	return s.Path(pathURL)
}
1297590
func (factory *CricketBeeFactory) Options() []bees.BeeOptionDescriptor {
	opts := []bees.BeeOptionDescriptor{
		{
			Name:        "favourite_team",
			Default:     "Ind",
			Description: "Please mention for which team you want to get updates",
			Type:        "string",
			Mandatory:   true,
		},
	}
	return opts
}