METHOD_0 ( ) { org . apache . IDENT_0 . collection . IDENT_1 reader = org . apache . IDENT_0 . IDENT_2 . factory . IDENT_3 . METHOD_1 ( org . IDENT_4 . IDENT_5 . IDENT_0 . io . IDENT_6 . class , IDENT_6 . IDENT_7 , STRING_0 , IDENT_6 . IDENT_8 , STRING_1 , IDENT_6 . IDENT_9 , IDENT_10 . IDENT_11 . toString ( ) ) ; org . apache . IDENT_0 . IDENT_12 . IDENT_13 engine = org . apache . IDENT_0 . IDENT_2 . factory . IDENT_14 . METHOD_2 ( de . IDENT_15 . IDENT_16 . IDENT_4 . core . io . IDENT_17 . IDENT_18 . class , IDENT_18 . IDENT_19 , STRING_2 ) ; int i = 0 ; for ( org . apache . IDENT_0 . IDENT_20 . IDENT_21 IDENT_20 : new org . apache . IDENT_0 . IDENT_2 . pipeline . METHOD_3 ( reader ) ) { engine . process ( IDENT_20 ) ; i ++ ; } "<AssertPlaceHolder>" ; } process ( org . apache . IDENT_0 . IDENT_20 . IDENT_21 ) { final java . util . List < java . lang . String > IDENT_22 = new java . util . ArrayList < java . lang . String > ( ) ; try { for ( java . util . Map . Entry < org . apache . IDENT_0 . IDENT_23 . text . IDENT_24 , java . lang . String > entry : de . IDENT_15 . IDENT_16 . IDENT_4 . core . api . IDENT_25 . IDENT_26 . select ( IDENT_27 . METHOD_4 ( ) , IDENT_28 ) ) { java . lang . String IDENT_29 = entry . getValue ( ) ; if ( METHOD_5 ( IDENT_29 ) ) { IDENT_22 . add ( IDENT_29 ) ; } } } catch ( de . IDENT_15 . IDENT_16 . IDENT_4 . core . api . IDENT_25 . IDENT_30 e ) { throw new org . apache . IDENT_0 . IDENT_12 . METHOD_6 ( e ) ; } if ( ( IDENT_22 . size ( ) ) > ( IDENT_31 ) ) { final org . apache . lucene . document . Document doc = new org . apache . lucene . document . Document ( ) ; for ( java . lang . String IDENT_29 : IDENT_22 ) { doc . add ( new org . apache . lucene . document . Field ( org . IDENT_4 . IDENT_5 . IDENT_32 . IDENT_33 . store . IDENT_34 . IDENT_35 , IDENT_29 , Field . IDENT_36 . IDENT_37 , Field . IDENT_38 . IDENT_39 , Field . IDENT_40 . IDENT_37 ) ) ; } doc . add ( new org . apache . lucene . document . Field ( STRING_3 , de . IDENT_15 . IDENT_16 . IDENT_4 . core . api . metadata . type . IDENT_41 . get ( IDENT_27 ) . METHOD_7 ( ) , Field . IDENT_36 . IDENT_37 , Field . IDENT_38 . IDENT_39 , Field . IDENT_40 . IDENT_37 ) ) ; try { IDENT_42 . METHOD_8 ( doc ) ; } catch ( java . io . IOException e ) { e . printStackTrace ( ) ; } } }
org . junit . Assert . assertEquals ( 2 , i )