All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.search.suggest.completion2x.context.GeolocationContextMapping.class Maven / Gradle / Ivy

????4?Qcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMappingFcom/groupbyinc/flux/search/suggest/completion2x/context/ContextMappingGeolocationContextMapping.javaScom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$1Zcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$GeoQueryGeoQuery[com/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$GeoConfig	GeoConfigYcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$BuilderBuilder5com/groupbyinc/flux/common/xcontent/ToXContent$Params.com/groupbyinc/flux/common/xcontent/ToXContentParams8com/groupbyinc/flux/common/xcontent/XContentParser$Token2com/groupbyinc/flux/common/xcontent/XContentParserTokenTcom/groupbyinc/flux/search/suggest/completion2x/context/ContextMapping$ContextConfig
ContextConfigScom/groupbyinc/flux/search/suggest/completion2x/context/ContextMapping$ContextQueryContextQuery=com/groupbyinc/flux/common/xcontent/XContentParser$NumberType!
NumberTypeTYPELjava/lang/String;geo&FIELD_PRECISION	precision)FIELD_NEIGHBORS	neighbors,FIELD_FIELDNAMEpath/defaultLocationsLjava/util/Collection;*Ljava/util/Collection;[IZ	fieldName
defaultConfig]Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$GeoConfig;@(Ljava/lang/String;[IZLjava/util/Collection;Ljava/lang/String;)V'(Ljava/lang/String;Ljava/lang/String;)V9;
<)4	>,5	@12	B6%	Dl(Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping;Ljava/util/Collection;)V9F
G78	IthisSLcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping;nameloadv(Ljava/lang/String;Ljava/util/Map;)Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping;
java/util/MapPcontainsKey(Ljava/lang/Object;)ZRSQT/com/groupbyinc/flux/ElasticsearchParseExceptionVfield [precision] is missingXjava/lang/ObjectZ((Ljava/lang/String;[Ljava/lang/Object;)V9\
W](Ljava/lang/String;)V9_
`get&(Ljava/lang/Object;)Ljava/lang/Object;bcQdjava/lang/IntegerfintValue()Ihi
gj^(I)Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$Builder;)l
mremoveocQpjava/lang/Longr	longValue()Jtu
sv^(D)Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$Builder;)x
yjava/lang/Double{doubleValue()D}~
|java/lang/Float?
floatValue()F??
??java/lang/Iterable?iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext()Z????next()Ljava/lang/Object;????toString()Ljava/lang/String;??
[?o(Ljava/lang/String;)Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$Builder;)?
?java/lang/Boolean?booleanValue??
??^(Z)Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$Builder;,?
?default?addDefaultLocation??
?java/lang/String?lat?7field [{}] map must have field lat and a valid latitude?lon?8field [{}] map must have field lon and a valid longitude?valueOf&(Ljava/lang/String;)Ljava/lang/Double;??
|?_(DD)Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$Builder;??
?)field [{}] must be of type string or list?field??
?buildU()Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping;??
?Ljava/lang/Object;location	latlonMap5Ljava/util/Map;Ljava/util/Map;configPrecisionconfigNeighborsdefconfigbuilder[Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$Builder;toInnerXContent?(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;java/io/IOException?3com/groupbyinc/flux/common/xcontent/XContentBuilder?arrayK(Ljava/lang/String;[I)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??
startArrayI(Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??java/util/Collection???value??
??endArray7()Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??[(Ljava/lang/String;Ljava/lang/String;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;??
??defaultLocation5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;params7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params;parseSinglePointOrListL(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Ljava/util/Collection;currentToken<()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;???START_ARRAY:Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token;??	?	nextToken???VALUE_NUMBER??		END_ARRAY?	+com/groupbyinc/flux/common/geo/GeoHashUtilsstringEncode(DD)Ljava/lang/String;	

java/util/Collections	singleton#(Ljava/lang/Object;)Ljava/util/Set;

only two values expectedlatitue must be a numeric valuejava/util/ArrayList()V9
'com/groupbyinc/flux/common/geo/GeoUtils
parseGeoPoint_(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/common/geo/GeoPoint;
'com/groupbyinc/flux/common/geo/GeoPoint!geohash#?
"$add&S
'Dresult)Ljava/util/ArrayList;Ljava/util/ArrayList;parser4Lcom/groupbyinc/flux/common/xcontent/XContentParser;tokenX()Lcom/groupbyinc/flux/search/suggest/completion2x/context/ContextMapping$ContextConfig;parseContext?(Lcom/groupbyinc/flux/index/mapper/ParseContext;Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/search/suggest/completion2x/context/ContextMapping$ContextConfig;-com/groupbyinc/flux/index/mapper/ParseContext3	docMapper3()Lcom/groupbyinc/flux/index/mapper/DocumentMapper;56
47/com/groupbyinc/flux/index/mapper/DocumentMapper9mappers9()Lcom/groupbyinc/flux/index/mapper/DocumentFieldMappers;;<
:=5com/groupbyinc/flux/index/mapper/DocumentFieldMappers?	getMapperB(Ljava/lang/String;)Lcom/groupbyinc/flux/index/mapper/FieldMapper;AB
@C4com/groupbyinc/flux/index/mapper/GeoPointFieldMapperE,referenced field must be mapped to geo_pointG
VALUE_NULLI?	J??
Lmapper.Lcom/groupbyinc/flux/index/mapper/FieldMapper;	locations/Lcom/groupbyinc/flux/index/mapper/ParseContext;query?(Ljava/lang/String;Lcom/groupbyinc/flux/common/geo/GeoPoint;)Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$GeoQuery;
getGeohashT?
"U?(Ljava/lang/String;Ljava/lang/String;[I)Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$GeoQuery;RW
Xpoint)Lcom/groupbyinc/flux/common/geo/GeoPoint;t(Ljava/lang/String;DD[I)Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$GeoQuery;
precisions?(Ljava/lang/String;DD[Ljava/lang/String;)Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$GeoQuery;4geoHashLevelsForPrecision(Ljava/lang/String;)I`a
biI[Ljava/lang/String;
precisionInts)(Ljava/lang/String;Ljava/lang/String;[I)V9h
	iparsePrecision7(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)IA$SwitchMap$org$elasticsearch$common$xcontent$XContentParser$Tokenm4	nordinalpi
qtexts?tF$SwitchMap$org$elasticsearch$common$xcontent$XContentParser$NumberTypev4	w
numberTypeA()Lcom/groupbyinc/flux/common/xcontent/XContentParser$NumberType;yz{
"qj(D)I`
?invalid precision value?
parseQuery?(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping$GeoQuery;START_OBJECT??	??
END_OBJECT??	?currentName???equals?S
??(Z)D}??latitude must be a number?only lat/lon or [{}] is allowed??longitude must be a number?7com/groupbyinc/flux/common/carrotsearch/hppc/IntHashSet?
?kl
?(I)Z&?
??toArray()[I??
??isNaN(D)Z??
|?unexpected fieldname [{}]?location is missing?(DD)V9?
"?9Lcom/groupbyinc/flux/common/carrotsearch/hppc/IntHashSet;hashCode?i??
??java/util/Arrays?([I)I??
??primegetClass()Ljava/lang/Class;??
[???([I[I)Z??
??objother?(Ljava/lang/String;Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Lcom/groupbyinc/flux/search/suggest/completion2x/context/ContextMapping$ContextQuery;??
?
access$000g(Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping;)Ljava/lang/String;x0
access$100k(Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping;)Ljava/util/Collection;
access$200W(Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping;)[I
access$300V(Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping;)Z
ConstantValue	SignatureCodeLocalVariableTableLocalVariableTypeTableLineNumberTableT(Ljava/lang/String;[IZLjava/util/Collection;Ljava/lang/String;)V
StackMapTable?(Ljava/lang/String;Ljava/util/Map;)Lcom/groupbyinc/flux/search/suggest/completion2x/context/GeolocationContextMapping;
Exceptions`(Lcom/groupbyinc/flux/common/xcontent/XContentParser;)Ljava/util/Collection;
SourceFileInnerClasses!	$%?'(%?*+%?-.%?012?3)4,56%789:??,*'+?=*,??*?A*?C*?E*?Y*?H?J??>,KL,M%,)4,,5,12,6%?,13?cdefgh+i??NO???+*?U??WYY?[?^??Y*?aM+??+*?eN-??3-?g?,-?g?k?nW+*?qW?-?s?,-?s?w??zW+*?qW??-?|?,-?|???zW+*?qW??-???,-??????zW+*?qW??-????-????:???{??:?g?,?g?k?nW?W?s?,?s?w??zW?>?|?,?|???zW?&???,??????zW?
,????W???+*?qW?,-????W+*?qW+-?e:?,??????W+-?qW+??e:????2????:?????:,????W???????,????W???Q???Q:??U???e?|??WY??[Y?S?^???U???e?|??WY??[Y?S?^?,??e????????e????????W??WY??[Y?S?^?+??qW+0?e:?,????W+0?qW,?İ?f
?l)??
??????/???pK???&???6??M%???"?????????????>~?"?&?/?6?=?I?U?\?i?u?|?????????????????????
??"?*?;?E?H?T?]?f?p?u??????????????????????????#?>?Q?V?v?z?}??????????????L?[???*[?	??$[?"[???)Q?+?!??????e+**????W+-*?A??W*?C?7+???W*?C??N-???-????:+??W???+??W*?E?+0*?E??W+??*B?%eKLe??e???.????$?B?I?L?Q?X?c??
?.???????|?*??L+????*??L+??R*?I*????0*?9*????
(????WY?[?^??WY?[?^??Y?:+??*? ?%?(W*??L????*? ?%???47%?)#H?)t!*,?-.?/??t!*+?F?????#?/?7?C?M?\?k?t?{????????2?M????????70?/*?J??KL?12??L*?E?(+?8?>*?E?DN-?F??WYH?[?^?,???K?N?,?MN?Y*-?H??>NO:P2LKLL1QL-.B
P2?:P3B
P3?"
,8=B?
,????W	RS?@*+?V?
?Y??M%Z[?#?R\?T*)'??Y??*M%?)?)]4?0?R^??1??
:6??2?cO????*)'??Y??>
de1M%1?)1?)1]f*g4?4565%8??
_??RW?I?	Y*+,?j?? M%#%]4?C
kl??x?o*???r.?\%*?u?c??x*?|?}.? *?~?*?????WY??[?^??x-.?G(I2KXN_PiS?(	%	??W????,???????J?9::,??????,??:	?	???e?K,??W?o,???r.?%,??J?8?WY??[?^??WY??[Y?S?^??	???f?L,??W?o,???r.?&,??9?˻WY??[?^??WY??[Y?S?^?*	???J,?????/??Y??:
,????
,????W???
??:?e?
Y,??O:?V?	???7???)???,??W,? :?,?WY??[Y?S?^??WY??[Y	S?^???o?-)???????WY??[?^??"Y)??:?	??	*??:?	Y+?%?j??	Y+,? ?V*???j??\	' ]?
/}6%	??)??)?Z[?)4KLM%-.??.YZ[\]_'`/a9b>cEdlgthwj?m?o?p?q?r?u?v?x?{}~'?3?@?G?J?Y?d?s?z????????????????????????M??"_?P?
<???	)?
????W?i??\<=h*?C??*?C??`=h*?E??
*?E??`=h*?A?	ϧ?`=h*????`=?? \KLY?eW*e?????7?M?Z??=??P?R??S?(?*+??+??*??+?å?+?M*?C?,?C??*?C,?C????*?E?,?E??*?E,?E????*?A,?A??*??,???ǚ??? ?KL???a?L?Z????
????&?-?/???A?H?O?Q?_?a?l?n?|?~??	?A???1*+,?̰?KL?I??W???/*?E???L?I???/*?C???L?I???/*?????L?I???/*?A???L?I??J		



		D		 	"#@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy