METHOD_0 ( ) { java . lang . Object result = function . execute ( null , null , null , null , null ) ; "<AssertPlaceHolder>" ; } execute ( java . lang . Object , com . orientechnologies . orient . core . db . record . IDENT_0 , java . lang . Object , java . lang . Object [ ] , com . orientechnologies . orient . core . command . IDENT_1 ) { com . orientechnologies . orient . core . record . IDENT_2 element = ( IDENT_3 instanceof com . orientechnologies . orient . core . record . IDENT_2 ) ? ( ( com . orientechnologies . orient . core . record . IDENT_2 ) ( IDENT_3 ) ) : ( ( com . orientechnologies . orient . core . sql . executor . IDENT_4 ) ( IDENT_3 ) ) . METHOD_1 ( ) ; java . lang . String IDENT_5 = ( ( java . lang . String ) ( params [ 0 ] ) ) ; com . orientechnologies . lucene . index . IDENT_6 index = METHOD_2 ( ctx , IDENT_5 ) ; if ( index == null ) return false ; java . lang . String query = ( ( java . lang . String ) ( params [ 1 ] ) ) ; org . apache . lucene . index . IDENT_7 . IDENT_8 IDENT_9 = METHOD_3 ( ctx ) ; com . orientechnologies . lucene . IDENT_10 . List < java . lang . Object > key = index . METHOD_4 ( ) . METHOD_5 ( ) . stream ( ) . map ( ( s ) -> element . getProperty ( s ) ) . collect ( java . util . stream . IDENT_11 . toList ( ) ) ; try { for ( org . apache . lucene . index . IDENT_12 field : index . METHOD_6 ( key ) . METHOD_5 ( ) ) { IDENT_9 . METHOD_7 ( field , index . METHOD_8 ( ) ) ; } com . orientechnologies . orient . core . record . impl . IDENT_13 metadata = METHOD_9 ( params ) ; com . orientechnologies . lucene . query . IDENT_14 IDENT_15 = new com . orientechnologies . lucene . query . METHOD_10 ( new com . orientechnologies . lucene . collections . METHOD_11 ( com . orientechnologies . lucene . IDENT_10 . Arrays . asList ( query ) ) . METHOD_12 ( ctx ) , metadata ) ; return ( IDENT_9 . search ( index . METHOD_13 ( IDENT_15 ) ) ) > FLOAT_0 ; } catch ( com . orientechnologies . lucene . IDENT_10 . IDENT_16 e ) { com . orientechnologies . common . log . IDENT_17 . instance ( ) . error ( this , STRING_0 , e ) ; } return null ; }
org . junit . Assert . assertEquals ( result , new java . util . HashSet < java . lang . Object > ( ) )