public static Bson geoHaystack ( final String fieldName , final Bson additional ) { notNull ( "fieldName" , fieldName ) ; return compoundIndex ( new BsonDocument ( fieldName , new BsonString ( "geoHaystack" ) ) , additional ) ; }
Create an index key for a geohaystack index on the given field .