IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Span Field Masking Usage
editSpan Field Masking Usage
editFluent DSL example
editq .SpanFieldMasking(c => c .Name("named_query") .Boost(1.1) .Field(p => p.Name) .Query(sq => sq .SpanTerm(st => st.Field(p => p.Description).Value("dolorem")) ) )
Object Initializer syntax example
editnew SpanFieldMaskingQuery { Name = "named_query", Boost = 1.1, Field = Infer.Field<Project>(p => p.Name), Query = new SpanQuery { SpanTerm = new SpanTermQuery { Field = Infer.Field<Project>(p => p.Description), Value = "dolorem" } } }
Example json output.
{ "field_masking_span": { "_name": "named_query", "boost": 1.1, "field": "name", "query": { "span_term": { "description": { "value": "dolorem" } } } } }