com.groupbyinc.flux.common.apache.lucene.spatial.prefix.PrefixTreeStrategy.class Maven / Gradle / Ivy
???? 4 ? Jcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PrefixTreeStrategy @com/groupbyinc/flux/common/apache/lucene/spatial/SpatialStrategy PrefixTreeStrategy.java Scom/groupbyinc/flux/common/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap Kcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/HeatmapFacetCounter Heatmap grid PLcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree; provider Ljava/util/Map; ~Ljava/util/Map; defaultFieldValuesArrayLen I
distErrPct D
pointsOnly Z
FIELD_TYPE =Lcom/groupbyinc/flux/common/apache/lucene/document/FieldType; e(Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;Ljava/lang/String;)V Ncom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree getSpatialContext L()Lcom/groupbyinc/flux/common/locationtech/spatial4j/context/SpatialContext;
_(Lcom/groupbyinc/flux/common/locationtech/spatial4j/context/SpatialContext;Ljava/lang/String;)V
! &java/util/concurrent/ConcurrentHashMap # ()V %
$ &
( *???????? . 0 2 this LLcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PrefixTreeStrategy; fieldName Ljava/lang/String; getGrid R()Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree; setDefaultFieldValuesArrayLen (I)V
getDistErrPct ()D
setDistErrPct (D)V isPointsOnly ()Z
setPointsOnly (Z)V createIndexableFields {(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;)[Lcom/groupbyinc/flux/common/apache/lucene/document/Field; ctx JLcom/groupbyinc/flux/common/locationtech/spatial4j/context/SpatialContext; F G H Bcom/groupbyinc/flux/common/apache/lucene/spatial/query/SpatialArgs J calcDistanceFromErrPct ?(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;DLcom/groupbyinc/flux/common/locationtech/spatial4j/context/SpatialContext;)D L M
K N |(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;D)[Lcom/groupbyinc/flux/common/apache/lucene/document/Field; D P
Q shape ?Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape; distErr getLevelForDistance (D)I V W
X |(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;I)[Lcom/groupbyinc/flux/common/apache/lucene/document/Field; D Z
[ detailLevel createCellIteratorToIndex j(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;ILjava/util/Iterator;)Ljava/util/Iterator; ^ _
` newCellToBytesRefIterator R()Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/CellToBytesRefIterator; b c
d Ncom/groupbyinc/flux/common/apache/lucene/spatial/prefix/CellToBytesRefIterator f reset (Ljava/util/Iterator;)V h i
g j Scom/groupbyinc/flux/common/apache/lucene/spatial/prefix/BytesRefIteratorTokenStream l
m & setBytesRefIterator ?(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRefIterator;)Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/BytesRefIteratorTokenStream; o p
m q 7com/groupbyinc/flux/common/apache/lucene/document/Field s getFieldName ()Ljava/lang/String; u v
w y ?(Ljava/lang/String;Lcom/groupbyinc/flux/common/apache/lucene/analysis/TokenStream;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexableFieldType;)V {
t | cells YLjava/util/Iterator; Ljava/util/Iterator; cellToBytesRefIterator PLcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/CellToBytesRefIterator; tokenStream ULcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/BytesRefIteratorTokenStream; field 9Lcom/groupbyinc/flux/common/apache/lucene/document/Field;
g & isPointShape B(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;)Z ? ?
? "java/lang/IllegalArgumentException ? java/lang/StringBuilder ?
? & pointsOnly is true yet a ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? java/lang/Object ? getClass ()Ljava/lang/Class; ? ?
? ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ? ?
? ? is given for indexing ? toString ? v
? ? (Ljava/lang/String;)V ?
? ? getTreeCellIterator ?(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;I)Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/CellIterator; ? ?
? reuse makeDistanceValueSource ?(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Point;D)Lcom/groupbyinc/flux/common/apache/lucene/search/DoubleValuesSource;
java/util/Map ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? Ycom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PointPrefixTreeFieldCacheProvider ? f(Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/tree/SpatialPrefixTree;Ljava/lang/String;I)V ?
? ? put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; ? ? ? ? java/lang/Throwable ? Xcom/groupbyinc/flux/common/apache/lucene/spatial/util/ShapeFieldCacheDistanceValueSource ? ?(Lcom/groupbyinc/flux/common/locationtech/spatial4j/context/SpatialContext;Lcom/groupbyinc/flux/common/apache/lucene/spatial/util/ShapeFieldCacheProvider;Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Point;D)V ?
? ?
queryPoint ?Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Point;
multiplier p [Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PointPrefixTreeFieldCacheProvider;
calcFacets(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext;Lcom/groupbyinc/flux/common/apache/lucene/util/Bits;Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;II)Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap; java/io/IOException ?[(Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/PrefixTreeStrategy;Lcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext;Lcom/groupbyinc/flux/common/apache/lucene/util/Bits;Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;II)Lcom/groupbyinc/flux/common/apache/lucene/spatial/prefix/HeatmapFacetCounter$Heatmap; ? ?
? context CLcom/groupbyinc/flux/common/apache/lucene/index/IndexReaderContext;
topAcceptDocs 4Lcom/groupbyinc/flux/common/apache/lucene/util/Bits;
inputShape
facetLevel maxCells =com/groupbyinc/flux/common/locationtech/spatial4j/shape/Point ? ;com/groupbyinc/flux/common/apache/lucene/document/FieldType ?
? & setTokenized ? C
? ? setOmitNorms ? C
? ? ;com/groupbyinc/flux/common/apache/lucene/index/IndexOptions ? DOCS =Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions; ? ? ? ? setIndexOptions @(Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions;)V ? ?
? ? freeze ? %
? ? Signature Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable ?(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;ILjava/util/Iterator;)Ljava/util/Iterator;
Exceptions
SourceFile InnerClasses!
? ? ? +*+? ,? "*? $Y? '? )*? +* ,? /*? 1*+? 3? ? + 4 5 + + 6 7 ? W Q R S T % X * Y 8 9 ? / *? 3? ? 4 5 ? \ : ; ? > *? +? ? 4 5 ?
f g <