459460461462463464465466467
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertEquals( AliasDerefMode.DEREF_ALWAYS, searchRequest.getDerefAliases() ); }
487488489490491492493494495
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertEquals( AliasDerefMode.DEREF_FINDING_BASE_OBJ, searchRequest.getDerefAliases() ); }
515516517518519520521522523
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertEquals( AliasDerefMode.DEREF_IN_SEARCHING, searchRequest.getDerefAliases() ); }
543544545546547548549550551
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertEquals( AliasDerefMode.NEVER_DEREF_ALIASES, searchRequest.getDerefAliases() ); }
582583584585586587588589590
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertEquals( 1000, searchRequest.getSizeLimit() ); }
621622623624625626627628629
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertEquals( 60, searchRequest.getTimeLimit() ); }
659660661662663664665666667
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertTrue( searchRequest.getTypesOnly() ); }
686687688689690691692693694
713714715716717718719720721
catch ( Exception e ) { fail( e.getMessage() ); } SearchRequest searchRequest = ( SearchRequest ) parser.getBatchRequest().getCurrentRequest(); assertFalse( searchRequest.getTypesOnly() ); }
740741742743744745746747748