question: public static RunStats delegateGetBucketForGreekAndEnglishString ( int buckets ) throws Exception { Long startTime = System . currentTimeMillis ( ) ; PrimaryIndexBucketGeneratorImpl ibg = new PrimaryIndexBucketGeneratorImpl ( FieldDataType . TEXT , buckets ) ; PrimaryIndexBucketLocatorImpl locator = new PrimaryIndexBucketLocatorImpl ( ibg . generateBuckets ( ) , null , null , null , null , null , null , null , null ) ; logger . debug ( "test to getBucket for the bucket distribution on English and Greek Strings" ) ; String fileEnglish = "/MostCommon20kEnglishWords.txt" ; String fileGreek = "/MostCommon10kGreekWords.txt" ; String greekFile = Utils . readFile ( fileGreek ) ; String [ ] greekLines = greekFile . split ( "\n" ) ; String englishFile = Utils . readFile ( fileEnglish ) ; String [ ] englishLines = englishFile . split ( "\n" ) ; try { HashMap < Long , List < Object > > hm = new HashMap < > ( ) ; SummaryStatistics stats = new SummaryStatistics ( ) ; for ( String line : englishLines ) { line = line . trim ( ) ; Long bucketId = locator . getBucket ( line , FieldDataType . TEXT ) ; calculate ( hm , stats , bucketId , line ) ; } for ( String line : greekLines ) { line = line . trim ( ) ; Long bucketId = locator . getBucket ( line , FieldDataType . TEXT ) ; calculate ( hm , stats , bucketId , line ) ; } Long runTime = System . currentTimeMillis ( ) - startTime ; RunStats runStats = new RunStats ( "BucketForStrings" , FieldDataType . TEXT , runTime , stats , hm ) ; logger . debug ( runStats . toString ( ) ) ; return runStats ; } catch ( Exception e ) { logger . debug ( e . toString ( ) , e ) ; throw e ; } }
target:  Test to check the Bucket Distribution for the Greek and English values together