Interface IGeoIpProcessor
The GeoIP processor adds information about the geographical location of IP addresses,
based on data from the Maxmind databases.
This processor adds this information by default under the geoip field.
The geoip processor can resolve both IPv4 and IPv6 addresses.
Assembly: OpenSearch.Client.dll
Syntax
public interface IGeoIpProcessor : IProcessor
Properties
|
Edit this page
View Source
DatabaseFile
Declaration
[DataMember(Name = "database_file")]
string DatabaseFile { get; set; }
Property Value
|
Edit this page
View Source
Field
Declaration
[DataMember(Name = "field")]
Field Field { get; set; }
Property Value
|
Edit this page
View Source
FirstOnly
If true
, only first found geoip data will be returned, even if field contains array.
Defaults to true
Declaration
[DataMember(Name = "first_only")]
bool? FirstOnly { get; set; }
Property Value
|
Edit this page
View Source
IgnoreMissing
If true
and field
does not exist, the processor quietly exits without modifying the document
Declaration
[DataMember(Name = "ignore_missing")]
bool? IgnoreMissing { get; set; }
Property Value
|
Edit this page
View Source
Properties
Declaration
[DataMember(Name = "properties")]
IEnumerable<string> Properties { get; set; }
Property Value
|
Edit this page
View Source
TargetField
Declaration
[DataMember(Name = "target_field")]
Field TargetField { get; set; }
Property Value
Extension Methods