com.groupbyinc.flux.common.apache.lucene.document.NearestNeighbor.class Maven / Gradle / Ivy
???? 4* Acom/groupbyinc/flux/common/apache/lucene/document/NearestNeighbor java/lang/Object NearestNeighbor.java Lcom/groupbyinc/flux/common/apache/lucene/document/NearestNeighbor$NearestHit
NearestHit Pcom/groupbyinc/flux/common/apache/lucene/document/NearestNeighbor$NearestVisitor NearestVisitor Fcom/groupbyinc/flux/common/apache/lucene/document/NearestNeighbor$Cell Cell Ccom/groupbyinc/flux/common/apache/lucene/document/NearestNeighbor$1 Jcom/groupbyinc/flux/common/apache/lucene/util/bkd/BKDReader$IntersectState ;com/groupbyinc/flux/common/apache/lucene/util/bkd/BKDReader IntersectState Ecom/groupbyinc/flux/common/apache/lucene/util/bkd/BKDReader$IndexTree IndexTree Kcom/groupbyinc/flux/common/apache/lucene/index/PointValues$IntersectVisitor :com/groupbyinc/flux/common/apache/lucene/index/PointValues IntersectVisitor ()V
this CLcom/groupbyinc/flux/common/apache/lucene/document/NearestNeighbor; nearest ?(DDLjava/util/List;Ljava/util/List;Ljava/util/List;I)[Lcom/groupbyinc/flux/common/apache/lucene/document/NearestNeighbor$NearestHit; java/io/IOException & java/util/PriorityQueue (
(ILjava/util/Comparator;)V +
) ,
) (Ljava/util/PriorityQueue;IDD)V /
0 java/util/ArrayList 2
3 java/util/List 5 size ()I 7 8 6 9 get (I)Ljava/lang/Object; ; < 6 = getBytesPerDimension ? 8
@ java/lang/IllegalStateException B java/lang/StringBuilder D
E bytesPerDim changed from G append -(Ljava/lang/String;)Ljava/lang/StringBuilder; I J
E K (I)Ljava/lang/StringBuilder; I M
E N to P across readers R toString ()Ljava/lang/String; T U
E V (Ljava/lang/String;)V X
C Y getMinPackedValue ()[B [ \
] getMaxPackedValue _ \
` getIntersectState ?(Lcom/groupbyinc/flux/common/apache/lucene/index/PointValues$IntersectVisitor;)Lcom/groupbyinc/flux/common/apache/lucene/util/bkd/BKDReader$IntersectState; b c
d add (Ljava/lang/Object;)Z f g 6 h index GLcom/groupbyinc/flux/common/apache/lucene/util/bkd/BKDReader$IndexTree; j k l approxBestDistance ([B[BDD)D n o
p P(Lcom/groupbyinc/flux/common/apache/lucene/util/bkd/BKDReader$IndexTree;I[B[BD)V r
s offer u g
) v
) 9 poll ()Ljava/lang/Object; y z
) { readerIndex I } ~
l
isLeafNode ()Z ? ?
? java/lang/Integer ? intValue ? 8
? ?
curDocBase ? ~
? 2com/groupbyinc/flux/common/apache/lucene/util/Bits ? curLiveDocs 4Lcom/groupbyinc/flux/common/apache/lucene/util/Bits; ? ?
? visitLeafBlockValues ?(Lcom/groupbyinc/flux/common/apache/lucene/util/bkd/BKDReader$IndexTree;Lcom/groupbyinc/flux/common/apache/lucene/util/bkd/BKDReader$IntersectState;)V ? ?
? minPacked [B ? ?
? =com/groupbyinc/flux/common/apache/lucene/geo/GeoEncodingUtils ? decodeLatitude ([BI)D ? ?
? ? decodeLongitude ? ?
? ? maxPacked ? ?
?
access$000 U(Lcom/groupbyinc/flux/common/apache/lucene/document/NearestNeighbor$NearestVisitor;)D ? ?
?
access$100 ? ?
?
access$200 ? ?
?
access$300 ? ?
?
access$400 ? ?
? getSplitDimValue :()Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ? ?
? 6com/groupbyinc/flux/common/apache/lucene/util/BytesRef ?
deepCopyOf r(Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef;)Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; ? ?
? ? getSplitDim ? 8
? clone I()Lcom/groupbyinc/flux/common/apache/lucene/util/bkd/BKDReader$IndexTree; ? ?
? ? ? z
? ? bytes ? ? ? ? offset ? ~ ? ? java/lang/System ? arraycopy *(Ljava/lang/Object;ILjava/lang/Object;II)V ? ?
? ? pushLeft ?
? pushRight ?
? O[Lcom/groupbyinc/flux/common/apache/lucene/document/NearestNeighbor$NearestHit; ? reader =Lcom/groupbyinc/flux/common/apache/lucene/util/bkd/BKDReader; minPackedValue maxPackedValue state LLcom/groupbyinc/flux/common/apache/lucene/util/bkd/BKDReader$IntersectState; i
cellMinLat D
cellMinLon
cellMaxLat
cellMaxLon
splitValue 8Lcom/groupbyinc/flux/common/apache/lucene/util/BytesRef; splitDim newIndex splitPackedValue cell HLcom/groupbyinc/flux/common/apache/lucene/document/NearestNeighbor$Cell; pointLat pointLon readers OLjava/util/List; Ljava/util/List; liveDocs FLjava/util/List; docBases %Ljava/util/List; n hitQueue iLjava/util/PriorityQueue; Ljava/util/PriorityQueue; cellQueue cLjava/util/PriorityQueue; visitor RLcom/groupbyinc/flux/common/apache/lucene/document/NearestNeighbor$NearestVisitor; states ^Ljava/util/List; bytesPerDim hits downTo (DDDDDD)D n
minLat minLon maxLat maxLon 8com/groupbyinc/flux/common/apache/lucene/util/SloppyMath haversinMeters (DDDD)D
java/lang/Math min (DD)D
d1 d2 d3 d4 Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
Exceptions Signature(DDLjava/util/List;Ljava/util/List;Ljava/util/List;I)[Lcom/groupbyinc/flux/common/apache/lucene/document/NearestNeighbor$NearestHit;
SourceFile InnerClasses / *? !? ! " # " + $ % ?
?? )Y? Y? *? -:? )Y? .: ?
Y&(? 1:
? 3Y? 4:66
? : ? ?
? > ? :?
? A6? ;? A? 1? CY? EY? FH? L? OQ? L? A? OS? L? W? Z?? ^:? a:
? e:? i W ?
Y? m
? ^? a&(? q? t? wW?
??S ? x?? ? |?
:
? ?? > ? :
? ?? ?? J
? ?? > ? ?? ?? ?
? ?? > ? ?? ?
? ?
? ?? > ? ? ??.
? ?? ?9
? ?? ?9
? ?? ?9
? ?? ?9
? ????W
? ????L
? ???
? ???
? ??? ??(
? ?? ?? ?:
? ?? ?6
? ?? ?:
? ?? ?? ?:? ?? ?h? ?
? ?? ? ?
Y
? ?
? ?
? ?
? ?&(? q? t? wW
? ?? ?? ?:? ?? ?h? ?? ? ?
Y
? ?
? ?
? ?&(? q? t? wW??`? x? :
? xd6? x?
? |? S?????
? ! S ? ? ? ? A ? ? ? : ? ? ? 1 ? ? 9 ? ? ~
i ? ? t ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ~ ? ? ? k ? ? ? ? ?? ? ?
} ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ~ ? ? ? ? ? *?
3? ? 6? ~ ? ' ?
? ~ # > ? ? ? ? ? ? ? ? ? ? ? ? ? 3? " ? 6 ? ? ? * ? 3 ? 6 ? E ? S ? Y ? c ? m ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?. ?B ?^it?
??????06:G]b ??"?$?%?&?'?(?+$ ? ? 9 6 6 6 ) )
6 ? ) 7? M? t
? W 6 6 6 ) )
6
? ? 6 6 6 ) )
6 ? ?% '&