METHOD_0 ( ) { java . nio . file . Path path = METHOD_1 ( ) ; org . apache . solr . core . IDENT_0 loader = new org . apache . solr . core . METHOD_2 ( path ) ; org . apache . solr . core . IDENT_1 config = new org . apache . solr . core . IDENT_1 . METHOD_3 ( STRING_0 , loader ) . METHOD_4 ( java . nio . file . IDENT_2 . get ( org . IDENT_3 . IDENT_4 . dao . IDENT_5 . METHOD_5 ( ) ) . resolve ( STRING_1 ) . toString ( ) ) . build ( ) ; try ( org . apache . solr . client . IDENT_6 . IDENT_7 . IDENT_8 server = new org . apache . solr . client . IDENT_6 . IDENT_7 . METHOD_6 ( config , STRING_2 ) ) { org . apache . solr . client . IDENT_6 . request . IDENT_9 . IDENT_10 IDENT_11 = new org . apache . solr . client . IDENT_6 . request . IDENT_9 . METHOD_7 ( ) ; IDENT_11 . METHOD_8 ( STRING_2 ) ; IDENT_11 . METHOD_9 ( STRING_3 ) ; server . request ( IDENT_11 ) ; java . util . HashMap < java . lang . String , java . lang . Object > fields = new java . util . HashMap ( ) ; fields . put ( STRING_0 0 , new java . lang . Integer ( 1 ) ) ; org . apache . solr . client . IDENT_6 . request . schema . IDENT_12 . IDENT_13 IDENT_14 = new org . apache . solr . client . IDENT_6 . request . schema . IDENT_12 . METHOD_10 ( fields ) ; server . request ( IDENT_14 ) ; org . IDENT_3 . IDENT_4 . dao . IDENT_15 IDENT_16 = new org . IDENT_3 . IDENT_4 . dao . METHOD_11 ( ) ; IDENT_16 . METHOD_12 ( server ) ; IDENT_16 . METHOD_13 ( 0 ) ; org . IDENT_3 . IDENT_4 . model . IDENT_17 event = new org . IDENT_3 . IDENT_4 . model . METHOD_14 ( 1L , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , java . lang . System . currentTimeMillis ( ) , STRING_9 ) ; IDENT_16 . save ( event ) ; event = new org . IDENT_3 . IDENT_4 . model . METHOD_14 ( INT_0 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , java . lang . System . currentTimeMillis ( ) , STRING_9 ) ; IDENT_16 . save ( event ) ; event = new org . IDENT_3 . IDENT_4 . model . METHOD_14 ( INT_1 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , java . lang . System . currentTimeMillis ( ) , STRING_0 1 ) ; IDENT_16 . save ( event ) ; event = new org . IDENT_3 . IDENT_4 . model . METHOD_14 ( INT_2 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , java . lang . System . currentTimeMillis ( ) , STRING_9 ) ; IDENT_16 . save ( event ) ; event = new org . IDENT_3 . IDENT_4 . model . METHOD_14 ( INT_3 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , java . lang . System . currentTimeMillis ( ) , STRING_9 ) ; IDENT_16 . save ( event ) ; org . IDENT_3 . spec . IDENT_4 . IDENT_18 IDENT_19 = IDENT_16 . METHOD_15 ( INT_4 ) ; "<AssertPlaceHolder>" ; server . close ( ) ; } } METHOD_15 ( java . lang . Long ) { return ( ( org . IDENT_3 . IDENT_4 . model . IDENT_20 ) ( this . METHOD_16 ( ) . execute ( new org . springframework . IDENT_21 . IDENT_22 . METHOD_17 ( ) { public java . lang . Object METHOD_18 ( org . IDENT_3 . IDENT_4 . dao . IDENT_23 session ) throws org . IDENT_3 . IDENT_4 . dao . IDENT_24 { org . IDENT_3 . IDENT_4 . model . IDENT_20 IDENT_19 = ( ( org . IDENT_3 . IDENT_4 . model . IDENT_20 ) ( METHOD_16 ( ) . get ( org . IDENT_3 . IDENT_4 . model . IDENT_20 . class , IDENT_25 ) ) ) ; org . IDENT_3 . IDENT_4 . dao . Query query = session . METHOD_19 ( org . IDENT_3 . IDENT_4 . dao . IDENT_26 . IDENT_27 ) ; query . METHOD_20 ( org . IDENT_3 . IDENT_4 . dao . IDENT_26 . IDENT_28 , IDENT_19 . METHOD_21 ( ) ) ; org . IDENT_3 . IDENT_4 . dao . List < java . lang . Long > IDENT_29 = ( ( org . IDENT_3 . IDENT_4 . dao . List < java . lang . Long > ) ( query . list ( ) ) ) ; org . IDENT_3 . IDENT_4 . dao . Collections . METHOD_22 ( IDENT_29 ) ; int IDENT_30 = IDENT_29 . indexOf ( IDENT_19 . METHOD_23 ( ) ) ; java . lang . Long IDENT_31 = null ; java . lang . Long IDENT_32 = null ; if ( IDENT_30 > 0 ) { IDENT_32 = IDENT_29 . get ( ( IDENT_30 - 1 ) ) ; } if ( IDENT_30 < ( ( IDENT_29 . size ( ) ) - 1 ) ) { IDENT_31 = IDENT_29 . get ( ( IDENT_30 + 1 ) ) ; } IDENT_19 . METHOD_24 ( IDENT_31 ) ; IDENT_19 . METHOD_25 ( IDENT_32 ) ; return IDENT_19 ; } } ) ) ) ; }
org . junit . Assert . assertEquals ( STRING_0 2 , IDENT_19 , null )